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

28 lines
845 B
Text
Raw Normal View History

<% content_for :title, "Sign In | Metamaps" %>
2014-08-12 15:09:53 +00:00
<div id="yield">
<%= 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>
<div>
2013-07-10 18:02:38 +00:00
<%= f.password_field :password %></div>
<div><%= f.submit "Sign in" %></div>
2013-07-10 18:02:38 +00:00
<% if devise_mapping.rememberable? -%>
<div><%= f.check_box :remember_me %> <div class="clearfloat"></div></div>
2013-07-10 18:02:38 +00:00
<% end -%>
<br />
<%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
<%= link_to "Forgot your password?", new_password_path(resource_name), :class => "forgotPasswordText" ,
:data => { :bypass => 'true'}%><br />
<% end -%>
<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