/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
- !!! 5
- %html
- %head
- %title Rotten Potatoes!
- = stylesheet_link_tag 'application'
- = javascript_include_tag 'application'
- = csrf_meta_tags
- %body
- %h1.title Rotten Potatoes!
- #main
- - if flash[:notice]
- #notice.message= flash[:notice]
- - elsif flash[:warning]
- #warning.message= flash[:warning]
- = yield