tap/app/views/devise/sessions/new.html.erb

18 lines
416 B
Text
Raw Normal View History

<h2>Sign in</h2>
<%= render partial: 'flash' %>
2014-12-15 19:43:02 +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>
<%= render "devise/shared/links" %>