auth.html.haml 468 B

12345678910111213141516171819202122
  1. - content_for :header_tags do
  2. = javascript_include_tag 'application_public'
  3. - content_for :content do
  4. .container
  5. .logo-container
  6. %h1
  7. = link_to root_path do
  8. = image_tag 'logo.png'
  9. .form-container
  10. - if flash[:notice]
  11. .flash-message.notice
  12. %strong= flash[:notice]
  13. - if flash[:alert]
  14. .flash-message.alert
  15. %strong= flash[:alert]
  16. = yield
  17. = render template: "layouts/application"