Alternative new Measurement form, WIP

This commit is contained in:
2025-08-15 23:26:57 +02:00
parent 0fb7f9946a
commit 46dd480b4e
19 changed files with 155 additions and 112 deletions

View File

@@ -0,0 +1,8 @@
<%#= render partial: 'form_repath' %>
<% @readouts.each do |r| %>
<%= turbo_stream.disable_all "select.quantity option[value='#{r.quantity_id}']" %>
<% end %>
<%= turbo_stream.before :readouts_form do %>
<%= render partial: 'form', collection: @readouts, as: :readout %>
<% end %>