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.
19 lines
595 B
19 lines
595 B
<%= render :partial => "users/shared/links" %> |
|
|
|
<%= 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 %>
|
|
|