Fix Turbo Stream replace targeting the wrong element
This commit is contained in:
parent
6e6cf5358b
commit
46cee3a192
|
@ -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
|
%i.fa.fa-fw.fa-bell
|
||||||
= t("voc.subscribe")
|
= 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
|
%i.fa.fa-fw.fa-bell-slash
|
||||||
= t("voc.unsubscribe")
|
= t("voc.unsubscribe")
|
||||||
|
|
Loading…
Reference in New Issue