app/views/layouts/trestle/admin.html.erb in trestle-0.10.0 vs app/views/layouts/trestle/admin.html.erb in trestle-0.10.1

- old
+ new

@@ -34,19 +34,19 @@ <%= content_for(:head) %> <%= hook :head %> </head> - <%= content_tag :body, body_attributes do %> + <%= tag.body(**body_attributes) do %> <div id="app-wrapper" class="app-wrapper" data-controller="wrapper" data-action="click->wrapper#hideMobileSidebar touchstart->wrapper#hideMobileSidebar" data-wrapper-mobile-sidebar-outlet=".app-sidebar"> <%= render "trestle/shared/sidebar" %> <div class="app-container"> <%= render "trestle/shared/header" %> - <main class="app-main"> + <div class="app-main"> <%= yield %> - </main> + </div> <%= render "trestle/shared/footer" %> </div> </div>