Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
- unless user_signed_in?
= form_tag user_session_path, class: 'top-bar' do
= text_field_tag 'user[email]'
= password_field_tag 'user[password]'
= check_box_tag 'user[remember_me]'
= label_tag 'user[remember_me]', 'Remember me'
button class='btn' Sign in
= link_to "Forgot your password?", new_password_path('user')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment