diff --git a/app/views/cards/comments/_comment.html.erb b/app/views/cards/comments/_comment.html.erb index 2c5083eaa..dafdb1c4e 100644 --- a/app/views/cards/comments/_comment.html.erb +++ b/app/views/cards/comments/_comment.html.erb @@ -1,7 +1,7 @@ <% cache comment do %> - <%= turbo_frame_tag comment do %> + <%= turbo_frame_tag comment, :container do %> <%# Bump for CSS changes: 2025-06-30 -%> -
" data-creator-id="<%= comment.creator_id %>" data-created-by-current-user-target="creation"> +
" data-creator-id="<%= comment.creator_id %>" data-created-by-current-user-target="creation"> @@ -13,7 +13,7 @@ <%= link_to comment.creator.name, comment.creator, class: "txt-ink btn btn--plain fill-transparent", data: { turbo_frame: "_top" } %> - <%= link_to comment, class: "txt-undecorated txt-ink translucent txt-normal txt-capitalize" do %> + <%= link_to comment, class: "txt-undecorated txt-ink translucent txt-normal txt-capitalize", data: { turbo_frame: "_top" } do %> <%= local_datetime_tag comment.created_at, style: :agoorweekday %>, <%= local_datetime_tag comment.created_at, style: :time %> <% end %> diff --git a/app/views/cards/comments/edit.html.erb b/app/views/cards/comments/edit.html.erb index 6feca97df..cb3011a37 100644 --- a/app/views/cards/comments/edit.html.erb +++ b/app/views/cards/comments/edit.html.erb @@ -1,4 +1,4 @@ -<%= turbo_frame_tag @comment do %> +<%= turbo_frame_tag @comment, :container do %>