forked from fixin.me/fixin.me
Back to single-select form w/ multiple select actions
This commit is contained in:
5
app/views/readouts/discard.turbo_stream.erb
Normal file
5
app/views/readouts/discard.turbo_stream.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<%= turbo_stream.remove dom_id(@quantity, :new, :readout) %>
|
||||
<%= turbo_stream.disable_all 'button[name="discard"]' if @prev_quantities.one? %>
|
||||
<%= turbo_stream.update_all "#id option[value=\"#{@quantity.id}\"]",
|
||||
quantity_option_text(@quantity, false) %>
|
||||
<%= render partial: 'form_repath' %>
|
||||
Reference in New Issue
Block a user