forked from fixin.me/fixin.me
Disable turbo for forms
This commit is contained in:
parent
5615113b9f
commit
37c5520fa5
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user