mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
bea0bb39d6
* Add shortcuts to blacklist a user's e-mail domain in admin UI * Add option to blacklist resolved MX and IP records for e-mail domains
14 lines
454 B
Text
14 lines
454 B
Text
- 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
|