1. Allan Davis
  2. RubyLearning

Source

RubyLearning / ProjectTrak / vendor / plugins / restful_authentication / generators / authenticated / templates / login.html.erb

<%% form_tag <%= controller_singular_name %>_path do -%>
<p><label for="login">Login</label><br/>
<%%= text_field_tag 'login' %></p>

<p><label for="password">Password</label><br/>
<%%= password_field_tag 'password' %></p>

<!-- Uncomment this if you want this functionality
<p><label for="remember_me">Remember me:</label>
<%%= check_box_tag 'remember_me' %></p>
-->

<p><%%= submit_tag 'Log in' %></p>
<%% end -%>