From f092c8395fdc4eb0b0e5171f5dcb9ebc6a36de25 Mon Sep 17 00:00:00 2001 From: Jim Benton <3331+jim@users.noreply.github.com> Date: Sat, 2 Nov 2024 15:05:59 -0500 Subject: [PATCH] Disable form submit buttons once again (#1727) --- app/lib/spectre_form_builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/spectre_form_builder.rb b/app/lib/spectre_form_builder.rb index c99329c52..b38bb43e5 100644 --- a/app/lib/spectre_form_builder.rb +++ b/app/lib/spectre_form_builder.rb @@ -173,7 +173,7 @@ def button(label = nil, options = {}) end def submit(label = nil, options = {}, &) - parent_button(label, options.deep_merge(type: "submit", class: "btn btn-primary btn-lg btn-block", data: {disable: true}), &) + parent_button(label, options.deep_merge(type: "submit", class: "btn btn-primary btn-lg btn-block", data: {turbo_disable: true}), &) end def errors(debug = false)