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.
 
 
 
 
 
 

24 lines
550 B

<div class="page-header">
<h1>Sign in</h1>
</div>
<%= simple_form_for(resource,
as: resource_name,
url: session_path(resource_name),
html: { class: 'form-horizontal' }
) do |f| %>
<div class="actions">
<%= f.input :email %>
<%= f.input :password %>
<% if devise_mapping.rememberable? -%>
<%= f.input :remember_me, as: :boolean %>
<% end -%>
</div>
<div class="form-actions">
<%= f.submit "Sign in", class: 'btn btn-primary' %>
</div>
<% end %>
<%= render :partial => "devise/shared/links" %>