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

17 lines
505 B
Plaintext
Raw Normal View History

2012-02-22 06:43:24 +00:00
<h2>Sign in</h2>
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<div><%= f.label :nccu_ldap_uid %><br />
<%= f.text_field :nccu_ldap_uid %></div>
<div><%= f.label :password %><br />
<%= f.password_field :password %></div>
<% if devise_mapping.rememberable? -%>
<div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
<% end -%>
<div><%= f.submit "Sign in" %></div>
<% end %>
<%= render :partial => "devise/shared/links" %>