tap/app/views/devise/sessions/new.html.erb

18 lines
433 B
Text
Raw Normal View History

<h2>Sign in</h2>
2014-12-12 12:50:13 +01:00
<div class="sign-in">
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
2014-12-09 17:17:11 +01:00
2014-12-12 12:50:13 +01:00
<%= form_text_field f, :nickname %>
<%= form_password_field f, :password %>
2014-12-09 17:17:11 +01:00
2014-12-12 12:50:13 +01:00
<% if devise_mapping.rememberable? %>
<%= form_check_box f, :remember_me %>
<% end %>
2014-12-09 17:17:11 +01:00
2014-12-12 12:50:13 +01:00
<%= f.submit "Sign in", class: "btn btn-primary" %>
<% end %>
2014-12-12 12:50:13 +01:00
</div>
2014-12-09 17:17:11 +01:00
<%= render "devise/shared/links" %>