<%= error_messages_for 'user' %>
Enter User Details <% form_for :user do |form| %>

<%= form.text_field :name, :size => 40 %>

<%= form.password_field :password, :size => 40 %>

<%= form.password_field :password_confirmation, :size => 40 %>

<%= form.select :manager, [true, false] %>

<%= submit_tag "Add User", :class => "submit" %> <% end %>