Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Reformat user form for layout refactoring with Bootstrap

  • Loading branch information...
commit 1001ec2cabac242d103c12123b16978107bb3c83 1 parent 157a214
@gbataille authored
Showing with 9 additions and 22 deletions.
  1. +9 −22 app/views/users/_user_form.html.haml
View
31 app/views/users/_user_form.html.haml
@@ -7,28 +7,15 @@
=message
%br
%hr
- %br
- %table
- %tr
- %td
- =f.label :username
- %td
- =f.text_field :username, :value => @user.username
- %tr
- %td
- =f.label :email
- %td
- =f.text_field :email, :value => @user.email
- %tr
- %td
- =f.label :pwd
- %td
- =f.password_field :pwd
- %tr
- %td
- =f.label :pwd_confirmation
- %td
- =f.password_field :pwd_confirmation
+
+ =f.label :username
+ =f.text_field :username, :value => @user.username
+ =f.label :email
+ =f.text_field :email, :value => @user.email
+ =f.label :pwd
+ =f.password_field :pwd
+ =f.label :pwd_confirmation
+ =f.password_field :pwd_confirmation
%p.button
=f.submit
Please sign in to comment.
Something went wrong with that request. Please try again.