2019-07-30 12:10:46 +03:00
|
|
|
- content_for :header_tags do
|
2020-11-06 12:56:31 +02:00
|
|
|
= javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'
|
2019-07-30 12:10:46 +03:00
|
|
|
|
|
|
|
- content_for :page_title do
|
|
|
|
= t('admin.domain_allows.add_new')
|
|
|
|
|
|
|
|
= simple_form_for @domain_allow, url: admin_domain_allows_path do |f|
|
|
|
|
= render 'shared/error_messages', object: @domain_allow
|
|
|
|
|
|
|
|
.fields-group
|
|
|
|
= f.input :domain, wrapper: :with_label, label: t('admin.domain_blocks.domain'), required: true
|
|
|
|
|
|
|
|
.actions
|
|
|
|
= f.button :button, t('admin.domain_allows.add_new'), type: :submit
|