2024-12-29 17:12:54 +08:00
|
|
|
<!DOCTYPE html>
|
2024-12-31 16:34:52 +08:00
|
|
|
<html lang="en">
|
2024-12-29 17:12:54 +08:00
|
|
|
<head>
|
2024-12-30 13:23:22 +08:00
|
|
|
<!-- <title><%#= content_for(:title) || "Sample App" %></title>-->
|
2024-12-30 17:54:42 +08:00
|
|
|
<title><%= full_title(yield(:title)) %></title>
|
|
|
|
<%= render 'layouts/rails_default' %>
|
|
|
|
<%= render 'layouts/shim' %>
|
2025-01-02 14:45:44 +08:00
|
|
|
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
|
|
|
<%= javascript_include_tag "application", "data-turbo-track": "reload", type: "module" %>
|
2024-12-29 17:12:54 +08:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2024-12-30 17:54:42 +08:00
|
|
|
<%= render 'layouts/header' %>
|
2024-12-30 13:23:22 +08:00
|
|
|
<div class="container">
|
2024-12-31 16:34:52 +08:00
|
|
|
<% flash.each do |message_type, message| %>
|
|
|
|
<%= content_tag(:div, message, class: "alert alert-#{message_type}") %>
|
|
|
|
<!-- <div class="alert alert-<%#= message_type %>"><%#= message %></div>-->
|
|
|
|
<% end %>
|
2024-12-30 13:23:22 +08:00
|
|
|
<%= yield %>
|
2024-12-30 17:54:42 +08:00
|
|
|
<%= render 'layouts/footer' %>
|
2024-12-31 16:34:52 +08:00
|
|
|
<%#= debug(params) if Rails.env.development? %>
|
|
|
|
<%= debug(params.to_yaml) if Rails.env.development? %>
|
2025-01-02 16:47:26 +08:00
|
|
|
<%= debug(session) if Rails.env.development? %>
|
2024-12-31 16:34:52 +08:00
|
|
|
<%= debug(Time.now) if Rails.env.development? %>
|
2024-12-30 13:23:22 +08:00
|
|
|
</div>
|
2024-12-29 17:12:54 +08:00
|
|
|
</body>
|
|
|
|
</html>
|