forked from fixin.me/fixin.me
8 lines
305 B
Plaintext
8 lines
305 B
Plaintext
<%= turbo_stream.close_form dom_id(@quantity.parent || Quantity, :new) %>
|
|
<%= turbo_stream.remove :no_items %>
|
|
<% @ancestors.map do |ancestor| %>
|
|
<%= turbo_stream.replace ancestor %>
|
|
<% end %>
|
|
<%= @before.nil? ? turbo_stream.append(:quantities, @quantity) :
|
|
turbo_stream.before(@before, @quantity) %>
|