Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1>Users#new</h1>
- <%= form_for :user do |f| %>
- <%= f.label :name %><br />
- <%= f.text_field :name, autofocus: true %><br />
- <%= f.label :password %><br />
- <%= f.password_field :password %><br />
- <%= f.label :password_confirmation %><br />
- <%= f.password_field :password_confirmation %><br />
- <%= f.label :height %><br />
- <%= f.text_field :height %><br />
- <%= f.label :tickets %><br />
- <%= f.text_field :tickets %><br />
- <%= f.label :nausea %><br />
- <%= f.text_field :nausea %><br />
- <%= f.label :happiness %><br />
- <%= f.text_field :happiness %><br />
- <%= f.label :admin %>
- <%= f.check_box :admin %><br />
- <%= f.submit "Create User" %>
- <% end %>
Add Comment
Please, Sign In to add comment