!!! %html %head %meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/ %title Dummy = csrf_meta_tags = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' = javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %body - flash.each do |name, msg| #flash{ :class => "alert alert-#{name}"} .container %button.close{ data: { dismiss: "alert" } } × = msg = yield