Created
February 15, 2013 18:49
-
-
Save jpfinlay/4962443 to your computer and use it in GitHub Desktop.
This file contains hidden or 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>Login</h1> | |
<%= form_tag author_sessions_path, method: :post do %> | |
<div class="field"> | |
<%= label_tag :username %> | |
<%= text_field_tag :username %> | |
<br/> | |
</div> | |
<div class="field"> | |
<%= label_tag :password %> | |
<%= password_field_tag :password %> | |
<br/> | |
</div> | |
<div class="actions"> | |
<%= submit_tag "Login" %> | |
</div> | |
<% end %> | |
<%= link_to 'Back', articles_path %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment