Created
October 5, 2012 07:09
-
-
Save lakshminarayanan/3838497 to your computer and use it in GitHub Desktop.
Login page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1> Log In</h1> | |
<%= form_tag sessions_path do %> | |
<div class="field"> | |
<%= label_tag :name %> <br /> | |
<%= text_field_tag :name, params[:name] %> | |
</div> | |
<div class="field"> | |
<%= label_tag :password %> <br /> | |
<%= password_field_tag :password, params[:password] %> | |
</div> | |
<div class="actions"> | |
<%= submit_tag "Log In" %> | |
</div> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment