Files
fizzy/app/views/layouts/application.html.erb
T
Mike Dalessio a8a8a46efa Extract flash message into a partial, and wrap in a turbo frame
to prepare for turbo responses to set a flash message.
2025-08-07 15:04:09 -04:00

30 lines
795 B
Plaintext

<!DOCTYPE html>
<html lang="en">
<%= render "layouts/shared/head" %>
<body data-controller="local-time timezone-cookie" data-action="turbo:morph@window->local-time#refreshAll">
<header id="header">
<a href="#main" class="skip-navigation btn" data-turbo="false">Skip to main content</a>
<%= yield :header %>
</header>
<%= render "layouts/shared/flash" %>
<main id="main">
<%= yield %>
</main>
<footer id="footer">
<%= yield :footer %>
<% if Current.user && !@hide_footer_frames %>
<div id="footer_frames" data-turbo-permanent="true">
<%= render "my/pins/tray" %>
<%= render "commands/terminal" %>
<%= render "notifications/tray" %>
</div>
<% end %>
</footer>
</body>
</html>