From 37c5520fa5e755201f97ffc7fc9db7ab2d3af5a2 Mon Sep 17 00:00:00 2001 From: cryptogopher Date: Fri, 14 Apr 2023 16:50:24 +0200 Subject: [PATCH] Disable turbo for forms --- app/helpers/application_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index c8da15d..dbf9b9e 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -35,6 +35,7 @@ module ApplicationHelper def tabular_form_for(record, options = {}, &block) options.merge! builder: TabularFormBuilder + options.merge! data: {turbo: false} form_for(record, **options, &-> (f) { f.table_form_for(&block) }) end