<%= i.food.name %> |
<%= "%g" % i.amount %>
<%= "[#{i.food.ref_unit.shortname}]" unless i.food.ref_unit == @amount_mfu_unit %>
|
<% @quantities.each do |q| %>
<%= format_amount(@ingredients[i][q], @ingredient_summary[:precision][q],
@ingredient_summary[:mfu_unit][q]) %>
|
<% end %>
<%# Moved buttons to helper to avoid spaces between buttons %>
<%= adjustment_buttons(i) %> |