/app/views/layouts/application.html.haml

https://bitbucket.org/opus85/rottentomatoes · HAML · 17 lines · 15 code · 2 blank · 0 comment · 0 complexity · a10ac7d3210081ab5cb5bc73caaecad9 MD5 · raw file

  1. !!! 5
  2. %html
  3. %head
  4. %title Rotten Potatoes!
  5. = stylesheet_link_tag 'application'
  6. = javascript_include_tag 'application'
  7. = csrf_meta_tags
  8. %body
  9. %h1.title Rotten Potatoes!
  10. #main
  11. - if flash[:notice]
  12. #notice.message= flash[:notice]
  13. - elsif flash[:warning]
  14. #warning.message= flash[:warning]
  15. = yield