From 4e6a053ff28b32ea569918df0385db3b1dcc66ed Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Sat, 22 Nov 2025 10:15:11 -0500 Subject: [PATCH] Make sure the card edit button targets the turbo frame Related to 5aaaeab5 --- app/views/cards/container/_closure.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/cards/container/_closure.html.erb b/app/views/cards/container/_closure.html.erb index f14e602b0..8784e43cf 100644 --- a/app/views/cards/container/_closure.html.erb +++ b/app/views/cards/container/_closure.html.erb @@ -8,7 +8,7 @@ <% else %>
- <%= 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" %> Edit e