Skip to content

Commit

Permalink
Add admin layout changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jim committed Nov 9, 2024
1 parent 6971fbc commit e56808c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/views/layouts/admin.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
<% unless request.get? && !form_request? # prevent turbo for caching form redisplays, which will often contain validation messages %>
<meta name="turbo-cache-control" content="no-preview">
<% end %>
<%= turbo_refreshes_with(method: :morph, scroll: :preserve) %>
<%= yield :head %>
<% if flash.key? :highlight %>
<meta name="highlight-element" content="<%= flash[:highlight].join(",") %>">
<% end %>
<%= javascript_include_tag "application", "data-turbo-track": "reload" %>
<%= stylesheet_link_tag "application", media: "all", "data-turbo-track": "reload" %>
</head>
Expand Down

0 comments on commit e56808c

Please sign in to comment.