2014-11-06 18:30:53 +01:00
|
|
|
<h1>Sign up</h1>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6 col-md-offset-3">
|
|
|
|
<%= form_for(@user) do |f| %>
|
2014-11-25 11:30:55 +01:00
|
|
|
<%= render partial: 'errors', locals: { model: @user } %>
|
|
|
|
|
2014-11-23 21:12:31 +01:00
|
|
|
<%= f.label :nickname %>
|
|
|
|
<%= f.text_field :nickname %>
|
|
|
|
|
2014-11-06 18:30:53 +01:00
|
|
|
<%= f.label :name %>
|
|
|
|
<%= f.text_field :name %>
|
|
|
|
|
2014-11-23 21:12:31 +01:00
|
|
|
<%= f.label :last_name %>
|
|
|
|
<%= f.text_field :last_name %>
|
|
|
|
|
|
|
|
<%= f.label :password %>
|
|
|
|
<%= f.password_field :password %>
|
|
|
|
|
|
|
|
<%= f.label :password_confirmation, "Confirmation" %>
|
|
|
|
<%= f.password_field :password_confirmation %>
|
|
|
|
|
2014-11-06 18:30:53 +01:00
|
|
|
<%= f.submit "Create my account", class: "btn btn-primary" %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
2014-11-23 21:12:31 +01:00
|
|
|
</div>
|