diff --git a/app/views/admin/domain_blocks/edit.html.haml b/app/views/admin/domain_blocks/edit.html.haml index 40c46b8b6b9..cd52953a40c 100644 --- a/app/views/admin/domain_blocks/edit.html.haml +++ b/app/views/admin/domain_blocks/edit.html.haml @@ -1,7 +1,7 @@ - content_for :page_title do = t('admin.domain_blocks.edit') -= simple_form_for @domain_block, url: admin_domain_block_path(@domain_block), method: :put do |form| += simple_form_for @domain_block, url: admin_domain_block_path(@domain_block) do |form| = render 'shared/error_messages', object: @domain_block = render form diff --git a/app/views/filters/edit.html.haml b/app/views/filters/edit.html.haml index 3dc3f07b72c..2042977e699 100644 --- a/app/views/filters/edit.html.haml +++ b/app/views/filters/edit.html.haml @@ -1,7 +1,7 @@ - content_for :page_title do = t('filters.edit.title') -= simple_form_for @filter, url: filter_path(@filter), method: :put do |f| += simple_form_for @filter, url: filter_path(@filter) do |f| = render 'filter_fields', f: f .actions