2015-03-25 17:49:37 +01:00
|
|
|
<h2>Sign in</h2>
|
|
|
|
<%= render partial: 'flash' %>
|
2014-12-15 19:43:02 +01:00
|
|
|
|
2015-03-25 17:49:37 +01:00
|
|
|
<div class="sign-in">
|
|
|
|
<%= f_form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
|
|
|
|
<%= f.text_field :uid %>
|
|
|
|
<%= f.password_field :password %>
|
|
|
|
|
|
|
|
<% if devise_mapping.rememberable? %>
|
|
|
|
<%= f.check_box :remember_me %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= f.submit "Sign in" %>
|
|
|
|
<% end %>
|
2014-12-12 12:50:13 +01:00
|
|
|
</div>
|
2015-03-25 17:49:37 +01:00
|
|
|
|
|
|
|
<%= render "devise/shared/links" %>
|