From 4738a18e522689cc243025be6015df64db8c2b08 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Mon, 25 Aug 2025 13:26:25 -0400 Subject: [PATCH] Use default action of persisted records on edit forms (#35904) --- app/views/admin/domain_blocks/edit.html.haml | 2 +- app/views/filters/edit.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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