2018-03-04 02:25:42 +00:00
|
|
|
{ content_for :title, "Sign In | Metamaps" }
|
|
|
|
{ content_for :mobile_title, "Login" }
|
2014-06-10 16:59:19 +00:00
|
|
|
|
2014-08-12 15:09:53 +00:00
|
|
|
<div id="yield">
|
2018-03-04 02:25:42 +00:00
|
|
|
{ form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :method => :post, :class => "centerGreyForm login" }) do |f| }
|
2014-09-25 16:25:46 +00:00
|
|
|
<h3>SIGN IN</h3>
|
|
|
|
|
|
|
|
<div class="accountImage"></div>
|
|
|
|
<div>
|
2018-03-04 02:25:42 +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>
|
2018-03-04 02:25:42 +00:00
|
|
|
{ f.password_field :password, :placeholder => "Password" }</div>
|
2013-07-10 18:02:38 +00:00
|
|
|
|
2018-03-04 02:25:42 +00:00
|
|
|
<div class="accountSubmit">{ f.submit "Sign in" }</div>
|
2014-09-27 02:31:06 +00:00
|
|
|
|
2018-03-04 02:25:42 +00:00
|
|
|
{ if devise_mapping.rememberable? -}
|
2014-09-27 02:31:06 +00:00
|
|
|
<div class="accountRememberMe">
|
2018-03-04 02:25:42 +00:00
|
|
|
{ f.label :remember_me, "Stay signed in" }
|
|
|
|
{ f.check_box :remember_me }
|
2014-09-27 02:31:06 +00:00
|
|
|
<div class="clearfloat"></div>
|
|
|
|
</div>
|
2018-03-04 02:25:42 +00:00
|
|
|
{ end -}
|
2014-09-27 02:31:06 +00:00
|
|
|
<div class="clearfloat"></div>
|
|
|
|
<div class="accountForgotPass">
|
2018-03-04 02:25:42 +00:00
|
|
|
{- if devise_mapping.recoverable? && controller_name != 'passwords' }
|
|
|
|
{ link_to "Forgot password?", new_password_path(resource_name) }
|
|
|
|
{ end -}
|
2014-09-27 02:31:06 +00:00
|
|
|
</div>
|
2018-03-04 02:25:42 +00:00
|
|
|
{ end }
|
2014-08-12 15:09:53 +00:00
|
|
|
</div>
|
2013-07-10 18:02:38 +00:00
|
|
|
|