2014-12-09 20:34:50 +01:00
|
|
|
<h2>Sign in</h2>
|
2014-12-15 19:43:02 +01:00
|
|
|
<%= render partial: 'flash' %>
|
|
|
|
|
2014-12-12 12:50:13 +01:00
|
|
|
<div class="sign-in">
|
2015-02-09 11:58:43 +01:00
|
|
|
<%= f_form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
|
|
|
|
<%= f.text_field :nickname %>
|
|
|
|
<%= f.password_field :password %>
|
2014-12-09 17:17:11 +01:00
|
|
|
|
2014-12-12 12:50:13 +01:00
|
|
|
<% if devise_mapping.rememberable? %>
|
2015-02-09 11:58:43 +01:00
|
|
|
<%= f.check_box :remember_me %>
|
2014-12-12 12:50:13 +01:00
|
|
|
<% end %>
|
2014-12-09 17:17:11 +01:00
|
|
|
|
2015-02-09 11:58:43 +01:00
|
|
|
<%= f.submit "Sign in" %>
|
2014-12-09 20:34:50 +01:00
|
|
|
<% end %>
|
2014-12-12 12:50:13 +01:00
|
|
|
</div>
|
2014-12-09 17:17:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
<%= render "devise/shared/links" %>
|