% if @meals_by_date.any? %> <%= render partial: 'meals/options' %> <% formulas = @quantities.map { |q| q.formula } %> <% formulas.unshift(@filter_q.formula) if @filter_q %> <%= error_messages_for *formulas %>
<%= date == Date.current ? 'Today' : date.strftime('%F') %> |
<%= l(:field_amount) %> | <% @quantities.each do |q| %>
<%= link_to '',
toggle_exposure_project_meals_path(@project, quantity_id: q.id),
{class: "icon icon-close", method: :post, remote: true} %>
<%= q.name %>
|
<% end %>
<%= l(:label_no_data) %>
<% end %>