forked from fixin.me/fixin.me
Add Quantity #edit and #update
This commit is contained in:
4
app/views/quantities/update.turbo_stream.erb
Normal file
4
app/views/quantities/update.turbo_stream.erb
Normal file
@@ -0,0 +1,4 @@
|
||||
<%= turbo_stream.close_form dom_id(@quantity, :edit) %>
|
||||
<% @ancestors.map do |ancestor| %>
|
||||
<%= turbo_stream.replace ancestor %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user