Files
fizzy/app/views/layouts/application.html.erb
T
Jason Zimdars 7d77f014a2 Only connect lightbox controller where the partial is present
- Fixes a console error that complained the dialog target was missing
2025-08-06 17:38:45 -05:00

36 lines
1.0 KiB
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>
<% if notice = flash[:notice] || flash[:alert] %>
<div class="flash" data-controller="element-removal" data-action="animationend->element-removal#remove">
<div class="flash__inner shadow">
<%= notice %>
</div>
</div>
<% end %>
<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>