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