<!DOCTYPE html>
<html lang="en">
  <head>
  <!--    <title><%#= content_for(:title) || "Sample App" %></title>-->
    <title><%= full_title(yield(:title)) %></title>
    <%= render 'layouts/rails_default' %>
    <%= render 'layouts/shim' %>
    <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
    <%= javascript_include_tag "application", "data-turbo-track": "reload", type: "module" %>
  </head>

  <body>
    <%= render 'layouts/header' %>
    <div class="container">
      <% flash.each do |message_type, message| %>
        <%= content_tag(:div, message, class: "alert alert-#{message_type}") %>
<!--        <div class="alert alert-<%#= message_type %>"><%#= message %></div>-->
      <% end %>
      <%= yield %>
      <%= render 'layouts/footer' %>
      <%#= debug(params) if Rails.env.development? %>
      <%= debug(params.to_yaml) if Rails.env.development? %>
      <%= debug(Time.now) if Rails.env.development? %>
    </div>
  </body>
</html>
