PageRenderTime 24ms CodeModel.GetById 19ms app.highlight 4ms RepoModel.GetById 0ms app.codeStats 0ms

/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
 9  %body
10    %h1.title Rotten Potatoes!
11    #main
12      - if flash[:notice]
13        #notice.message= flash[:notice]
14      - elsif flash[:warning]
15        #warning.message= flash[:warning]
16
17      = yield