mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:19:52 +01:00
Fix Turbo Stream replace targeting the wrong element
This commit is contained in:
parent
6e6cf5358b
commit
46cee3a192
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
= button_to subscriptions_path(answer: answer.id), class: "dropdown-item", id: "subscription-#{answer.id}" do
|
||||
= button_to subscriptions_path(answer: answer.id), class: "dropdown-item", form: { id: "subscription-#{answer.id}" } do
|
||||
%i.fa.fa-fw.fa-bell
|
||||
= t("voc.subscribe")
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
= button_to subscriptions_path(answer: answer.id), method: :delete, class: "dropdown-item", id: "subscription-#{answer.id}" do
|
||||
= button_to subscriptions_path(answer: answer.id), method: :delete, class: "dropdown-item", form: { id: "subscription-#{answer.id}" } do
|
||||
%i.fa.fa-fw.fa-bell-slash
|
||||
= t("voc.unsubscribe")
|
||||
|
|
Loading…
Reference in a new issue