blob: 8676f7e874a4e239beb15e4a69b4a7c63dc340d9 [file] [log] [blame]
<%= javascript_include_tag :defaults %>
<% @heading = 'Log in' %>
<% @overview = "Not a user? Click #{link_to('here', :controller => 'login', :action => 'sign_up')} to create a new account!" %>
<%= error_messages_for 'user' %>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr>
<td class="sectionTableCell">
<table width=100% border=0>
<tr>
<td>
<%= @login_message %>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<% tabular_form_for :user do |f| %>
<tr><th>Email</th><td><%= text_field_with_auto_complete :user, :email, :size => 40 %><td></tr>
<tr><th>Password</th><td><%= password_field(:user, :password, :size => 42) %> (<%= link_to 'I forgot my password', :controller => 'login', :action => 'lost_password' %>)</td></tr>
<tr><th></th><td><%= check_box(:user, :remember_me, {}, 0, 1) %> Remember me on this computer</td></tr>
<tr><th></th><td><%= submit_tag 'Let me in!' %></td></tr>
<% end %>