mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 14:19:53 +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-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 a new issue