Skip to content

Commit

Permalink
Add turbo-frame wrapping main content area
Browse files Browse the repository at this point in the history
  • Loading branch information
spohlenz committed Sep 18, 2024
1 parent ed160e4 commit 92780b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/layouts/trestle/admin.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
<%= render "trestle/shared/header" %>

<main class="app-main">
<%= yield %>
<turbo-frame id="main">
<%= yield %>
</turbo-frame>
</main>

<%= render "trestle/shared/footer" %>
Expand Down

0 comments on commit 92780b4

Please sign in to comment.