1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-25 12:08:22 +09:00
whippy-edition/app/views/admin/email_domain_blocks/new.html.haml

15 lines
454 B
Plaintext
Raw Normal View History

- content_for :page_title do
= t('.title')
= simple_form_for @email_domain_block, url: admin_email_domain_blocks_path do |f|
= render 'shared/error_messages', object: @email_domain_block
.fields-group
= f.input :domain, wrapper: :with_block_label, label: t('admin.email_domain_blocks.domain')
.fields-group
= f.input :with_dns_records, as: :boolean, wrapper: :with_label
.actions
= f.button :button, t('.create'), type: :submit