Consolidate inclusion of admin
js pack link (#26628)
This commit is contained in:
parent
e3fd071973
commit
9974163776
34 changed files with 1 additions and 100 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue