Files
fizzy/app/views/cards/update.turbo_stream.erb
T
Jason Zimdars d4e540d633 Need to replace the entire block, not just the buttons in most cases
Fixes that closure notice was missing from views
2025-11-28 08:36:41 -06:00

10 lines
393 B
Plaintext

<%= turbo_stream.replace dom_id(@card, :card_container), partial: "cards/container", method: :morph, locals: { card: @card.reload } %>
<%= turbo_stream.update dom_id(@card, :edit) do %>
<%= render "cards/container/content_display", card: @card %>
<% end %>
<%= turbo_stream.replace dom_id(@card, :card_closure_toggle) do %>
<%= render "cards/container/closure", card: @card %>
<% end %>