public
Created

  • Download Gist
_layout.slim
1 2 3 4 5 6 7 8 9
.topbar
- 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')

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.