diff --git a/Francesco.Recipes.World/Views/Shared/_GetInstructions.cshtml b/Francesco.Recipes.World/Views/Shared/_GetInstructions.cshtml index 695bda0..5884c07 100644 --- a/Francesco.Recipes.World/Views/Shared/_GetInstructions.cshtml +++ b/Francesco.Recipes.World/Views/Shared/_GetInstructions.cshtml @@ -1,16 +1,17 @@ -@Html.AntiForgeryToken() +@model Francesco.Recipes.World.Models.InstructionViewModel +@Html.AntiForgeryToken()
- @for (int i = 0; i < Model.Count; i++) + @for (int i = 0; i < Model.Instructions.Count; i++) { -
+
- - + +
- - + +
} @@ -18,6 +19,7 @@ + @section Scripts {