2014-12-09 17:17:11 +01:00
|
|
|
<h2>Sign up</h2>
|
|
|
|
|
|
|
|
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
|
|
|
|
<%= devise_error_messages! %>
|
|
|
|
|
|
|
|
<%= form_text_field f, :nickname %>
|
|
|
|
<%= form_text_field f, :name %>
|
|
|
|
<%= form_text_field f, :last_name %>
|
|
|
|
|
|
|
|
<%= form_password_field f, :password %>
|
|
|
|
<%= form_password_field f, :password_confirmation %>
|
|
|
|
|
2014-12-09 22:32:54 +01:00
|
|
|
<%= f.label :avatar %>
|
|
|
|
<%= f.file_field :avatar %>
|
|
|
|
|
|
|
|
<br />
|
|
|
|
<%= f.submit "Sign up", class: 'btn btn-primary' %>
|
2014-12-09 17:17:11 +01:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= render "devise/shared/links" %>
|