<!DOCTYPE html>
<html>
  <head>
    <title><%= (request.subdomain == '') ? 'IVAUSA' : request.subdomain.humanize %> </title>
    <%= csrf_meta_tags %>
    <%= javascript_include_tag "application", "data-turbolinks-track" => false %>
    <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
    <% if notice %>
      <p class="alert alert-success" align="center"><%= notice %></p>
    <% end %>
    <% if alert %>
      <p class="alert alert-danger" align="center"><%= alert %></p>
    <% end %>
  </head>

  <body>
    <%= yield %>
    <!-- <%= debug(params) if Rails.env.development? %> -->
  </body>

</html>
