tap/app/views/users/new.html.erb
2014-11-10 02:30:42 +01:00

18 lines
No EOL
425 B
Text

<h1>Sign up</h1>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<%= form_for(@user) do |f| %>
<%= render 'shared/error_messages', object: f.object %>
<%= f.label :name %>
<%= f.text_field :name %>
</br>
<%= f.label :marks %>
<%= f.number_field :marks %> (tijdelijk)
</br>
<%= f.submit "Create my account", class: "btn btn-primary" %>
<% end %>
</div>
</div>