<% if @targets.any? %> <% @targets.select(&:persisted?).each do |t| %> <% end %>
<%= l(:field_effective_from) %> <%= l(:field_name) %> <%= l(:field_notes) %> <%= l(:field_source) %> <%= l(:field_action) %>
<%= format_date(t.effective_from) %>
<%= link_to m.routine.name, readouts_measurement_routine_path(m.routine) %>
<%= " (#{pluralize(m.readouts.size, 'readout')})" %>
<%= m.notes %> <%= m.source.name if m.source.present? %> <%= action_links(m) %>
<% else %>

<%= l(:label_no_data) %>

<% end %>