Commit 9054f64c authored by Aleksei Kvitinskii's avatar Aleksei Kvitinskii

correct padding in user, keys, password forms

parent eb5fa834
......@@ -7,44 +7,42 @@
- @admin_user.errors.full_messages.each do |msg|
%li= msg
.span-24
.span-11.colborder
.field
= f.label :name
%br
= f.text_field :name
.field
= f.label :email
%br
= f.text_field :email
.field
= f.label :password
%br
= f.password_field :password
.field
= f.label :password_confirmation
%br
= f.password_field :password_confirmation
.field.prepend-top
= f.check_box :admin
= f.label :admin
.span-11
.field.prepend-top
= f.text_field :projects_limit, :class => "small_input"
= f.label :projects_limit
.form-row
= f.label :name
%br
= f.text_field :name
.form-row
= f.label :email
%br
= f.text_field :email
.form-row
= f.label :password
%br
= f.password_field :password
.form-row
= f.label :password_confirmation
%br
= f.password_field :password_confirmation
.form-row
= f.check_box :admin
= f.label :admin
.field
= f.label :skype
%br
= f.text_field :skype
.field
= f.label :linkedin
%br
= f.text_field :linkedin
.field
= f.label :twitter
%br
= f.text_field :twitter
.form-row
= f.text_field :projects_limit, :class => "small_input"
= f.label :projects_limit
.form-row
= f.label :skype
%br
= f.text_field :skype
.form-row
= f.label :linkedin
%br
= f.text_field :linkedin
.form-row
= f.label :twitter
%br
= f.text_field :twitter
.clear
%br
.actions
......
......@@ -21,4 +21,5 @@
%br
= paginate @admin_users
= link_to 'New User', new_admin_user_path
......@@ -5,12 +5,12 @@
- @key.errors.full_messages.each do |msg|
%li= msg
.span-6
.form-row
= f.label :title
= f.text_field :title, :style => "width:300px"
.span-6
.form-row
= f.label :key
= f.text_area :key, :style => "width:300px; height:130px"
.span-6
.form-row
= f.submit 'Save', :class => "lbutton vm"
......@@ -7,11 +7,11 @@
- @user.errors.full_messages.each do |msg|
%li= msg
.div
.form-row
= f.label :password
%br
= f.password_field :password
.div
.form-row
= f.label :password_confirmation
%br
= f.password_field :password_confirmation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment