Sign in
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<%= form_text_field f, :nickname %>
<%= form_password_field f, :password %>
<% if devise_mapping.rememberable? %>
<%= form_check_box f, :remember_me %>
<% end %>
<%= f.submit "Sign in", class: "btn btn-primary" %>
<% end %>
<%= render "devise/shared/links" %>