<h1>New User</h1>

<%= form_for @user, :action => resource(:users) do %>
  <%= error_messages %>
  
  <p>
    <%= text_field :name, :label => 'Name' %>
  </p>
  
  <p><%= submit 'Create' %></p>
<% end =%>

<%= link_to 'Back', resource(:users) %>
