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