mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:39:52 +01:00
Disable Turbo on announcement forms
This commit is contained in:
parent
54e157ec76
commit
9bd9c7af9f
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue