<%= form.error_messages %> |
<%= form.label :first_name %> |
<%= form.text_field :first_name %> |
<%= form.label :last_name %> |
<%= form.text_field :last_name %> |
<%= form.label :email %> |
<%= form.text_field :email %> |
<%= form.label :password %> |
<%= form.password_field :password %> |
<%= form.label :password_confirmation, "Confirm password" %> |
<%= form.password_field :password_confirmation %> |
<%= form.label :role %> |
<%= form.collection_select :role, ['', 'admin'], :to_s, :to_s %> |