cours0708/P5B/ruby/3dossmanno_annuaire/app/views/sessions/new.rhtml

15 lines
386 B
Plaintext
Raw Normal View History

2008-11-25 21:11:16 +00:00
<% form_tag session_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 -%>