Update Measurements#new form pathnames on actions

This commit is contained in:
2025-05-07 00:24:05 +02:00
parent 9dbcfddf98
commit ef3484dfdf
11 changed files with 61 additions and 37 deletions

View File

@@ -1,7 +1,7 @@
<%= tabular_form_with url: new_measurement_path, html: {id: :new_readouts_form} do %>
<% if @readouts&.present? %>
<fieldset>
<%= tag.legend @closest_ancestor.pathname if @closest_ancestor&.pathname %>
<%= tag.legend id: :new_readouts_form_legend %>
<table class="items centered">
<tbody id="readouts">
<tr id="new_readouts_actions">