public
Description: An example rails app using the Authlogic authentication library
Homepage: http://authlogicexample.binarylogic.com
Clone URL: git://github.com/binarylogic/authlogic_example.git
Click here to lend your support to: authlogic_example and make a donation at www.pledgie.com !
authlogic_example / app / views / user_sessions / new.html.erb
100644 14 lines (13 sloc) 0.374 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<h1>Login</h1>
 
<% form_for @user_session, :url => user_session_path do |f| %>
  <%= f.error_messages %>
  <%= f.label :login %><br />
  <%= f.text_field :login %><br />
  <br />
  <%= f.label :password %><br />
  <%= f.password_field :password %><br />
  <br />
  <%= f.check_box :remember_me %><%= f.label :remember_me %><br />
  <br />
  <%= f.submit "Login" %>
<% end %>