about summary refs log tree commit diff
path: root/app/views/admin/email_domain_blocks/new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/email_domain_blocks/new.html.haml')
-rw-r--r--app/views/admin/email_domain_blocks/new.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/admin/email_domain_blocks/new.html.haml b/app/views/admin/email_domain_blocks/new.html.haml
new file mode 100644
index 000000000..bcae867d9
--- /dev/null
+++ b/app/views/admin/email_domain_blocks/new.html.haml
@@ -0,0 +1,10 @@
+- 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
+
+  = f.input :domain, placeholder: t('admin.email_domain_blocks.domain')
+
+  .actions
+    = f.button :button, t('.create'), type: :submit