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