forked from fixin.me/fixin.me
7 lines
246 B
Plaintext
7 lines
246 B
Plaintext
<% [@previous_base, @unit.base].uniq.compact.each do |unit| %>
|
|
<%= turbo_stream.replace unit %>
|
|
<% end %>
|
|
<%= turbo_stream.remove @unit %>
|
|
<%= turbo_stream.before @before || :endmark, @unit %>
|
|
<%# TODO: move new subunit form as well if open %>
|