diff --git a/cookbook/templates/forms/edit_internal_recipe.html b/cookbook/templates/forms/edit_internal_recipe.html
index 5787c87e0..febf10467 100644
--- a/cookbook/templates/forms/edit_internal_recipe.html
+++ b/cookbook/templates/forms/edit_internal_recipe.html
@@ -110,7 +110,8 @@
-
+
@@ -157,7 +158,8 @@
@search-change="searchFoods">
-
+
@@ -192,12 +194,14 @@
@@ -355,13 +359,15 @@
},
addIngredient: function (step) { //TODO see if default can be generated from options request
step.ingredients.push({
- 'food': undefined,
+ 'food': null,
'unit': {
'name': '{{request.user.userpreference.default_unit}}'
},
'amount': 0,
'note': '',
'order': 0,
+ 'is_header': false,
+ 'no_amount': false
})
this.sortIngredients(step)
},