add main tag

This commit is contained in:
Pete Matsyburka committed 2026-10-22 15:01:54 +03:00
1 parent 88c99a2b35
commit 78edd87cc1
11 files changed
+25 -21

No files matched your search

+3 -1
View File
@@ -13,6 +13,8 @@
<%= stylesheet_pack_tag 'form', media: 'all', data: { turbo_track: 'dynamic' } %>
</head>
<body>
<%= yield %>
<main>
<%= yield %>
</main>
</body>
</html>
+4 -2
View File
@@ -13,8 +13,10 @@
<%= stylesheet_pack_tag 'application', media: 'all', data: { turbo_track: 'dynamic' } %>
</head>
<body>
<% if flash.present? %><%= render 'shared/flash' %><% end %>
<%= yield %>
<main>
<%= yield %>
</main>
<turbo-frame id="modal"></turbo-frame>
<% if flash.present? %><%= render 'shared/flash' %><% end %>
</body>
</html>