blob: e74095927541da8954e14f178bebedb2b2d89ebf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
= form_for @<%= user_singular_name %> do |f|
= f.error_messages
.field
= f.label :username
= f.text_field :username
.field
= f.label :email, "Email Address"
= f.text_field :email
.field
= f.label :password
= f.password_field :password
.field
= f.label :password_confirmation, "Confirm Password"
= f.password_field :password_confirmation
.form-actions
= f.submit (@<%= user_singular_name %>.new_record? ? "Sign up" : "Update")
|