Cleanup Quantity :pathname related code

This commit is contained in:
2025-03-23 13:11:14 +01:00
parent 3b30e58ff3
commit 1cddc794d2
6 changed files with 13 additions and 46 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.full_name if @closest_ancestor&.full_name %>
<%= tag.legend @closest_ancestor.pathname if @closest_ancestor&.pathname %>
<table class="items centered">
<tbody id="readouts">
<tr id="new_readouts_actions">