2014-01-29 03:46:58 +00:00
|
|
|
<h1 class="index">Sign In</h1>
|
2013-07-10 18:02:38 +00:00
|
|
|
|
|
|
|
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
|
|
|
|
<h3>Sign in</h3>
|
|
|
|
|
|
|
|
<div><%= f.label :email %>
|
|
|
|
<%= f.email_field :email, :autofocus => true %></div>
|
|
|
|
|
|
|
|
<div><%= f.label :password %>
|
|
|
|
<%= f.password_field :password %></div>
|
|
|
|
|
|
|
|
<% if devise_mapping.rememberable? -%>
|
2014-01-29 03:46:58 +00:00
|
|
|
<div><%= f.check_box :remember_me %> <%= f.label :remember_me %><div class="clearfloat"></div></div>
|
2013-07-10 18:02:38 +00:00
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<div><%= f.submit "Sign in" %></div>
|
|
|
|
|
2014-01-29 03:46:58 +00:00
|
|
|
<%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
|
|
|
|
<%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
|
|
|
|
<% end -%>
|
|
|
|
<div>Don't have an account? <a href="/request">Request an Invite</a></div>
|
2013-07-10 18:02:38 +00:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|