Disable Turbo on announcement forms
This commit is contained in:
parent
54e157ec76
commit
9bd9c7af9f
|
@ -1,6 +1,6 @@
|
|||
.card
|
||||
.card-body
|
||||
= bootstrap_form_for(@announcement, url: { action: "update" }, method: "PATCH") do |f|
|
||||
= bootstrap_form_for(@announcement, url: { action: "update" }, method: "PATCH", data: { turbo: false }) do |f|
|
||||
.row
|
||||
.col-md-12
|
||||
= f.text_area :content
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
.card
|
||||
.card-body
|
||||
= bootstrap_form_for(@announcement, url: { action: "create" }) do |f|
|
||||
= bootstrap_form_for(@announcement, url: { action: "create" }, data: { turbo: false }) do |f|
|
||||
.row
|
||||
.col-md-12
|
||||
= f.text_area :content
|
||||
|
|
Loading…
Reference in New Issue