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

17 lines
363 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| %>
<%= 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>