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>
|
2014-09-27 02:31:06 +00:00
|
|
|
<%= f.email_field :email, :autofocus => true, :placeholder => "Email" %></div>
|
2013-07-10 18:02:38 +00:00
|
|
|
|
2014-09-25 16:25:46 +00:00
|
|
|
<div>
|
2014-09-27 02:31:06 +00:00
|
|
|
<%= f.password_field :password, :placeholder => "Password" %></div>
|
2013-07-10 18:02:38 +00:00
|
|
|
|
2014-09-27 02:31:06 +00:00
|
|
|
<div class="accountSubmit"><%= f.submit "Sign in" %></div>
|
|
|
|
|
2013-07-10 18:02:38 +00:00
|
|
|
<% if devise_mapping.rememberable? -%>
|
2014-09-27 02:31:06 +00:00
|
|
|
<div class="accountRememberMe">
|
|
|
|
<%= f.label :remember_me, "Stay signed in" %>
|
|
|
|
<%= f.check_box :remember_me %>
|
|
|
|
<div class="clearfloat"></div>
|
|
|
|
</div>
|
2014-09-26 12:42:11 +00:00
|
|
|
<% end -%>
|
2014-09-27 02:31:06 +00:00
|
|
|
<div class="clearfloat"></div>
|
|
|
|
<div class="accountForgotPass">
|
|
|
|
<%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
|
|
|
|
<%= link_to "Forgot password?", new_password_path(resource_name),
|
|
|
|
:data => { :bypass => 'true'} %>
|
|
|
|
<% end -%>
|
|
|
|
</div>
|
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
|
|
|
|