Match template name to container id
This commit is contained in:
@@ -1 +1 @@
|
||||
<%= turbo_stream.replace [ @card, :pin_button ], partial: "cards/pins/pin", locals: { card: @card } %>
|
||||
<%= turbo_stream.replace [ @card, :pin_button ], partial: "cards/pins/pin_button", locals: { card: @card } %>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<%= turbo_frame_tag dom_id(@card, :pin) do %>
|
||||
<%= render "cards/pins/pin", card: @card %>
|
||||
<%= render "cards/pins/pin_button", card: @card %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user