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

correct padding in user, keys, password forms

parent eb5fa834
...@@ -7,44 +7,42 @@ ...@@ -7,44 +7,42 @@
- @admin_user.errors.full_messages.each do |msg| - @admin_user.errors.full_messages.each do |msg|
%li= msg %li= msg
.span-24 .form-row
.span-11.colborder = f.label :name
.field %br
= f.label :name = f.text_field :name
%br .form-row
= f.text_field :name = f.label :email
.field %br
= f.label :email = f.text_field :email
%br .form-row
= f.text_field :email = f.label :password
.field %br
= f.label :password = f.password_field :password
%br .form-row
= f.password_field :password = f.label :password_confirmation
.field %br
= f.label :password_confirmation = f.password_field :password_confirmation
%br .form-row
= f.password_field :password_confirmation = f.check_box :admin
.field.prepend-top = f.label :admin
= f.check_box :admin
= f.label :admin
.span-11
.field.prepend-top
= f.text_field :projects_limit, :class => "small_input"
= f.label :projects_limit
.field .form-row
= f.label :skype = f.text_field :projects_limit, :class => "small_input"
%br = f.label :projects_limit
= f.text_field :skype
.field .form-row
= f.label :linkedin = f.label :skype
%br %br
= f.text_field :linkedin = f.text_field :skype
.field .form-row
= f.label :twitter = f.label :linkedin
%br %br
= f.text_field :twitter = f.text_field :linkedin
.form-row
= f.label :twitter
%br
= f.text_field :twitter
.clear .clear
%br %br
.actions .actions
......
...@@ -21,4 +21,5 @@ ...@@ -21,4 +21,5 @@
%br %br
= paginate @admin_users = paginate @admin_users
= link_to 'New User', new_admin_user_path = link_to 'New User', new_admin_user_path
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
- @key.errors.full_messages.each do |msg| - @key.errors.full_messages.each do |msg|
%li= msg %li= msg
.span-6 .form-row
= f.label :title = f.label :title
= f.text_field :title, :style => "width:300px" = f.text_field :title, :style => "width:300px"
.span-6 .form-row
= f.label :key = f.label :key
= f.text_area :key, :style => "width:300px; height:130px" = f.text_area :key, :style => "width:300px; height:130px"
.span-6 .form-row
= f.submit 'Save', :class => "lbutton vm" = f.submit 'Save', :class => "lbutton vm"
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
- @user.errors.full_messages.each do |msg| - @user.errors.full_messages.each do |msg|
%li= msg %li= msg
.div .form-row
= f.label :password = f.label :password
%br %br
= f.password_field :password = f.password_field :password
.div .form-row
= f.label :password_confirmation = f.label :password_confirmation
%br %br
= f.password_field :password_confirmation = 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