cours0708/P5B/ruby/mon_projet/app/views/sessions/new.rhtml

15 lines
386 B
Plaintext
Raw Permalink 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 -%>