Partial refresh of Measurements#new form

This commit is contained in:
2025-02-18 18:27:47 +01:00
parent c48bf290fd
commit 8401424efa
6 changed files with 65 additions and 55 deletions

View File

@@ -1,3 +1,7 @@
<%= turbo_stream.replace :new_readouts_form, method: :morph do %>
<%= turbo_stream.replace :new_readouts_form do %>
<%= render partial: 'form_frame' %>
<% end if @prev_quantities.empty? %>
<%= turbo_stream.before :new_readouts_actions do %>
<%= render partial: 'form' %>
<% end %>