You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
595 B

12 years ago
<%= render :partial => "users/shared/links" %>
13 years ago
<%= simple_form_for(resource,
as: resource_name,
url: session_path(resource_name)
) do |f| %>
<%= f.input :email, required: true %>
<%= f.input :password, required: true %>
<% if devise_mapping.rememberable? -%>
<%= f.input :remember_me, as: :boolean %>
<% end -%>
<%= f.submit "Sign in", class: 'btn btn-primary' %>
<small>
or <%= link_to "Sign up", new_registration_path(resource_name) %>
/ <%= link_to 'Forgot your password?', new_password_path(resource_name) %>
</small>
<% end %>