<%= render partial: 'quantities/filters', locals: {url: filter_project_quantities_path(@project)} %> <% if @quantities.any? { |q| q.persisted? } %> <% Quantity.each_with_level(@quantities) do |q, level| %> <% next if q.new_record? quantity_class = "quantity" quantity_class += " primary" unless q.exposures.empty? quantity_class += " project idnt idnt-#{level+1}" %> <% end %>
<%= l(:field_name) %> <%= l(:field_order) %> <%= l(:field_domain) %> <%= l(:field_description) %> <%= l(:field_formula) %> <%= l(:field_action) %>
<%= q.name %>
<%= order_links(q) %> <%= q.domain %> <%= q.description %> <%= checked_image q.formula %> <%= action_links(q) %>
<% else %>

<%= l(:label_no_data) %>

<% end %>