We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c93cd2 commit eba4510Copy full SHA for eba4510
lib/bootstrap_form/inputs/submit.rb
@@ -4,10 +4,12 @@ module BootstrapForm
4
module Inputs
5
module Submit
6
def button(value=nil, options={}, &)
7
- if options.key? :submits_with
8
- options[:data] = { turbo_submits_with: setup_turbo_submit(options[:submits_with]) }
9
- options.except! :submits_with
10
- end
+ # if options.key? :submits_with
+ # options[:data] = { turbo_submits_with: setup_turbo_submit(options[:submits_with]) }
+ # options.except! :submits_with
+ # end
11
+ options[:data] = { turbo_submits_with: setup_turbo_submit(:spinner) }
12
+
13
value = setup_css_class "btn btn-secondary", value, options
14
super
15
end
0 commit comments