2014-06-10 16:59:19 +00:00
|
|
|
<% content_for :title, "Sign In | Metamaps" %>
|
|
|
|
|
2014-08-12 15:09:53 +00:00
|
|
|
<div id="yield">
|
2014-09-25 16:25:46 +00:00
|
|
|
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :method => :post, :class => "centerGreyForm login" }) do |f| %>
|
|
|
|
<h3>SIGN IN</h3>
|
|
|
|
|
|
|
|
<div class="accountImage"></div>
|
|
|
|
<div>
|
2013-07-10 18:02:38 +00:00
|
|
|
<%= f.email_field :email, :autofocus => true %></div>
|
|
|
|
|
2014-09-25 16:25:46 +00:00
|
|
|
<div>
|
2013-07-10 18:02:38 +00:00
|
|
|
<%= f.password_field :password %></div>
|
|
|
|
|
2014-09-25 16:25:46 +00:00
|
|
|
<div><%= f.submit "Sign in" %></div>
|
2013-07-10 18:02:38 +00:00
|
|
|
<% if devise_mapping.rememberable? -%>
|
2014-09-25 16:25:46 +00:00
|
|
|
<div><%= f.check_box :remember_me %> <div class="clearfloat"></div></div>
|
2013-07-10 18:02:38 +00:00
|
|
|
<% end -%>
|
|
|
|
|
2014-06-10 16:59:19 +00:00
|
|
|
<br />
|
2014-01-29 03:46:58 +00:00
|
|
|
<%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
|
2014-09-25 16:25:46 +00:00
|
|
|
<%= link_to "Forgot your password?", new_password_path(resource_name), :class => "forgotPasswordText" ,
|
|
|
|
:data => { :bypass => 'true'}%><br />
|
2014-01-29 03:46:58 +00:00
|
|
|
<% end -%>
|
2014-06-10 16:59:19 +00:00
|
|
|
<br />
|
2013-07-10 18:02:38 +00:00
|
|
|
<% end %>
|
2014-08-12 15:09:53 +00:00
|
|
|
</div>
|
2013-07-10 18:02:38 +00:00
|
|
|
|