@using (Html.BeginForm("SubmitRecipe", "Recipe", FormMethod.Post)) {
@Html.LabelFor(model => model.Recipe.Title, "Recipe Title") @Html.EditorFor(model => model.Recipe.Title) @Html.ValidationMessageFor(model => model.Recipe.Title)
@Html.LabelFor(model => model.Recipe.Description, "Description") @Html.TextAreaFor(model => model.Recipe.Description) @Html.ValidationMessageFor(model => model.Recipe.Description)
@Html.LabelFor(model => model.Recipe.Image, "Upload Image")
@Html.Partial("_CreateIngredient", Model.addIngredient)

@Html.Partial("_AddIngredient")

@Html.LabelFor(model => model.Recipe.Preparation, "Preparation") @Html.TextAreaFor(model => model.Recipe.Preparation, "Preparation") @Html.ValidationMessageFor(model => model.Recipe.Preparation)

}