Login:


Please login or <%= link_to 'create an account', :controller => 'user', :action => 'new' %>.
<% form_tag :action => 'login' do %> <%= hidden_field_tag('referer', h(params[:referer])) %>
Email Address or username:<%= text_field('user', 'email',{:size => 50, :maxlength => 255}) %>
Password:<%= password_field('user', 'password',{:size => 50, :maxlength => 255}) %>

<%= submit_tag 'Login' %> <% end %> (<%= link_to 'Lost your password?', :controller => 'user', :action => 'lost_password' %>)