new.html.haml 515 B

1234567891011121314
  1. - content_for :header_tags do
  2. = javascript_pack_tag 'admin', integrity: true, async: true, crossorigin: 'anonymous'
  3. - content_for :page_title do
  4. = t('admin.domain_allows.add_new')
  5. = simple_form_for @domain_allow, url: admin_domain_allows_path do |f|
  6. = render 'shared/error_messages', object: @domain_allow
  7. .fields-group
  8. = f.input :domain, wrapper: :with_label, label: t('admin.domain_blocks.domain'), required: true
  9. .actions
  10. = f.button :button, t('admin.domain_allows.add_new'), type: :submit