metamaps--metamaps/views/users/sessions/new.html.erb

33 lines
941 B
Text
Raw Normal View History

2018-03-05 17:43:11 +00:00
2014-08-12 15:09:53 +00:00
<div id="yield">
2018-03-05 17:33:16 +00:00
{ form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :method => :post, :className => "centerGreyForm login" }) do |f| }
<h3>SIGN IN</h3>
2018-03-05 17:33:16 +00:00
<div className="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
<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-05 17:33:16 +00:00
<div className="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? -}
2018-03-05 17:33:16 +00:00
<div className="accountRememberMe">
2018-03-04 02:25:42 +00:00
{ f.label :remember_me, "Stay signed in" }
{ f.check_box :remember_me }
2018-03-05 17:33:16 +00:00
<div className="clearfloat"></div>
2014-09-27 02:31:06 +00:00
</div>
2018-03-04 02:25:42 +00:00
{ end -}
2018-03-05 17:33:16 +00:00
<div className="clearfloat"></div>
<div className="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