Create a gist now

Instantly share code, notes, and snippets.

<h2>Log In</h2>
<%= form_tag sessions_path do %>
<div class="field">
<%= label_tag :user_name %><br>
<%= text_field_tag :user_name, params['user_name'] %>
</div>
<p></p>
<div class="field">
<%= label_tag :password %><br/>
<%= password_field_tag :password %>
</div>
<p></p>
<div class="field">
<%= check_box_tag :remember_me %>
<%= label_tag "Remember me?" %>
</div>
<p></p>
<div class="actions"><%= submit_tag "Log in" %></div>
<% end %>
<p></p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment