2014-12-09 17:17:11 +01:00
|
|
|
<h2>Sign up</h2>
|
|
|
|
|
2015-02-09 11:58:43 +01:00
|
|
|
<%= f_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
|
|
|
|
<%= f.error_messages %>
|
2014-12-09 17:17:11 +01:00
|
|
|
|
2015-02-09 11:58:43 +01:00
|
|
|
<%= f.text_field :nickname %>
|
|
|
|
<%= f.text_field :name %>
|
|
|
|
<%= f.text_field :last_name %>
|
2014-12-09 17:17:11 +01:00
|
|
|
|
2015-02-09 11:58:43 +01:00
|
|
|
<%= f.password_field :password %>
|
|
|
|
<%= f.password_field :password_confirmation %>
|
2014-12-09 17:17:11 +01:00
|
|
|
|
2014-12-09 22:32:54 +01:00
|
|
|
<%= f.file_field :avatar %>
|
|
|
|
|
2015-02-09 11:58:43 +01:00
|
|
|
<%= f.submit "Sign up" %>
|
2014-12-09 17:17:11 +01:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= render "devise/shared/links" %>
|