diff --git a/app/views/ingredients/_nutrients.html.erb b/app/views/ingredients/_nutrients.html.erb index befb575..0a40d71 100644 --- a/app/views/ingredients/_nutrients.html.erb +++ b/app/views/ingredients/_nutrients.html.erb @@ -50,9 +50,9 @@ onclick="$(this).closest('tr').prev('tr.primary').toggle(); $(this).closest('tr').prev('tr.primary').nextUntil('tr.primary', '.ingredient').toggle(); return false;"> <%= i.name %> - <% @requested_n[index].each do |q_name, value| %> + <% @requested_n[index].each do |q, value| %>
<%= format_value(value) %>
<%= format_value(value) %>
<%= format_value(value) %>
<%= format_value(value) %>