crowbar_framework/app/views/layouts/application.html.haml
!!!
%html{ :lang => :en }
%head
%title
= meta_title
= meta_tags
- registered_stylesheets.each do |stylesheet|
= stylesheet_link_tag stylesheet
= yield :stylesheets
- registered_javascripts.each do |javascript|
= javascript_include_tag javascript
= yield :javascripts
/[if lt IE 9]
= stylesheet_link_tag "ie"
= javascript_include_tag "ie"
= favicon_tag
%body{ class: params[:controller].tr("/", "-") }
%header
= render :partial => "shared/header"
%section
.container#content
= render :partial => "shared/flashes"
= yield
%footer
= render :partial => "shared/footer"
%script#message-template{ :type => "text/x-handlebars-template" }
.alert{ :class => "{{classes}}" }
{{#if dismiss}}
%button.close{ :type => "button", "data-dismiss" => "alert", "aria-hidden" => true }
×
{{/if}}
{{message}}