tap/app/views/devise/sessions/new.html.erb
2014-12-15 19:43:02 +01:00

19 lines
465 B
Text

<h2>Sign in</h2>
<%= render partial: 'flash' %>
<div class="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 %>
</div>
<%= render "devise/shared/links" %>