1
0
Fork 0
forked from gitea/nas

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

@ -4,9 +4,6 @@
- content_for :heading_actions do
= link_to t('admin.email_domain_blocks.add_new'), new_admin_email_domain_block_path, class: 'button'
- content_for :header_tags do
= javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'
= form_for(@form, url: batch_admin_email_domain_blocks_path) do |f|
= hidden_field_tag :page, params[:page] || 1

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 @email_domain_block, url: admin_email_domain_blocks_path do |f|
= render 'shared/error_messages', object: @email_domain_block