about summary refs log tree commit diff
path: root/app/views/admin/domain_allows/new.html.haml
blob: 0540765d73a1e86b7189b9f213dc24b9d7488198 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
- 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
    = f.input :hidden, wrapper: :with_label, label: t('admin.domain_allows.hidden')

  .actions
    = f.button :button, t('admin.domain_allows.add_new'), type: :submit