Advertisement
saasbook

login_form.html.haml

Feb 20th, 2012
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.18 KB | None | 0 0
  1. #login
  2.   - if @current_user
  3.     %p.welcome
  4.       Welcome, #{@current_user.name}
  5.       = link_to '[Logout]', '/logout'
  6.   - else
  7.     %p.login= link_to 'Have an account? Log in', 'login'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement