Advertisement
saasbook

login_form.html.haml

Sep 15th, 2014
722
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.19 KB | None | 0 0
  1. #login
  2.   - if @current_user
  3.     %p.welcome  Welcome, #{@current_user.name}!
  4.     = link_to 'Log Out', logout_path
  5.   - else
  6.     %p.login= link_to 'Log in with your Twitter account', '/auth/twitter'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement