% if @targets_by_date.any? %> <%= render partial: 'targets/options' %> <% formulas = @quantities.collect(&:formula) %> <%= error_messages_for *formulas %>
<%= link_to(format_date(date), goal_target_path(@goal, date), {remote: true, class: 'icon icon-arrow-right'}) %> | <% @quantities.each do |q| %><%= raw targets[q].to_s %> | <% end %><%= action_links(date) %> |
<%= l(:label_no_data) %>
<% end %>