forked from fixin.me/fixin.me
5 lines
258 B
Plaintext
5 lines
258 B
Plaintext
<%= turbo_stream.close_form dom_id(@unit.base || Unit, :new) %>
|
|
<%= turbo_stream.remove :no_items %>
|
|
<%= turbo_stream.replace @unit.base unless @unit.base.nil? %>
|
|
<%= @before.nil? ? turbo_stream.append(:units, @unit) : turbo_stream.before(@before, @unit) %>
|