Consolidate inclusion of admin js pack link (#26628)

This commit is contained in:
Matt Jankowski 2023-08-24 03:56:23 -04:00 committed by GitHub
parent e3fd071973
commit 9974163776
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 1 additions and 100 deletions

View file

@ -1,9 +1,6 @@
- content_for :page_title do
= t('.title')
- content_for :header_tags do
= javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'
= simple_form_for @announcement, url: admin_announcement_path(@announcement), html: { novalidate: false } do |f|
= render 'shared/error_messages', object: @announcement

View file

@ -1,9 +1,6 @@
- content_for :page_title do
= t('.title')
- content_for :header_tags do
= javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'
= simple_form_for @announcement, url: admin_announcements_path, html: { novalidate: false } do |f|
= render 'shared/error_messages', object: @announcement