!!! %html %head %title = content_for?(:title) ? yield(:title) : "Untitled" %meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/ = stylesheet_link_tag "application" = javascript_include_tag "application" = csrf_meta_tag = yield(:head) %body #container - flash.each do |name, msg| = content_tag :div, msg, :id => "flash_#{name}" - if show_title? %h1= yield(:title) = yield