Login
<%= f.text_field :login %>
email in case of password reset
<%= f.text_field :email %>
Admin Level
<%= collection_select 'user', 'admin_id', Admin.find(:all), 'id', 'name' %>
<% end %>
<%= f.password_field :password %>
<%= f.password_field :password_confirmation %>
You are not allowed to access other users login details your ip address has been recorded <%= @ip %>
<% end %> <%= link_to 'Show', @user %> | <%= link_to 'Back', user_path %>