%= render partial: 'measurements/filters', locals: {url: filter_project_measurements_path(@project)} %> <% if @measurements.any? { |m| m.persisted? } %> <%= error_messages_for @formula_q.formula if @formula_q %>
<%= l(:field_taken_at_date) %> | <%= l(:field_name) %> | <%= l(:field_source) %> | <%= l(:field_action) %> |
---|---|---|---|
<%= format_datetime(m) %> |
<%= link_to m.name, readouts_measurement_path(m) %>
<%= " (#{pluralize(m.readouts.size, 'readout')})" %>
|
<%= m.source.name if m.source.present? %> | <%= action_links(m) %> |
<%= l(:label_no_data) %>
<% end %>