fixin.me/app/views/quantities/update.turbo_stream.erb

5 lines
156 B
Plaintext

<%= turbo_stream.close_form dom_id(@quantity, :edit) %>
<% @ancestors.push(@quantity).map do |ancestor| %>
<%= turbo_stream.replace ancestor %>
<% end %>