%= stylesheet_link_tag 'application', media: 'all' %>
<%= yield :head %>
<% if flash.any? %>
<% flash.each do |type, text| %>
<%= text %>
<% end %>
<% end %>
<%= yield %>
<%= javascript_include_tag 'application', integrity: true %>
<%= yield :foot %>