Make sure the card edit button targets the turbo frame

Related to 5aaaeab5
This commit is contained in:
Mike Dalessio
2025-11-22 10:15:11 -05:00
parent 521c1572b0
commit 4e6a053ff2
+1 -1
View File
@@ -8,7 +8,7 @@
</div>
<% else %>
<div class="flex gap-half">
<%= link_to edit_card_path(card), class: "btn btn--circle-mobile borderless", data: { controller: "hotkey", action: "keydown.e@document->hotkey#click" } do %>
<%= link_to edit_card_path(card), class: "btn btn--circle-mobile borderless", data: { controller: "hotkey", action: "keydown.e@document->hotkey#click", turbo_frame: dom_id(card, :edit) } do %>
<%= icon_tag "pencil", class: "icon--mobile-only" %>
<span>Edit</span>
<kbd class="txt-x-small hide-on-touch">e</kbd>