tap/app/views/users/new.html.erb

18 lines
425 B
Text
Raw Normal View History

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-10 02:30:42 +01:00
<%= render 'shared/error_messages', object: f.object %>
2014-11-06 18:30:53 +01:00
<%= 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>