delete unnecessary view
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
@{
|
||||
ViewData["Title"] = "Add or Create Ingredient to Recipe";
|
||||
}
|
||||
|
||||
<h2>@ViewData["Title"]</h2>
|
||||
|
||||
<form asp-action="AddOrCreateIngredient" method="post">
|
||||
<input type="hidden" id="RecipeId" name="recipeId" value="@ViewBag.RecipeId" />
|
||||
<div class="form-group">
|
||||
<label for="IngredientName" class="control-label">Ingredient Name</label>
|
||||
<input type="text" id="IngredientName" name="ingredientName" class="form-control" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="Quantity" class="control-label">Quantity</label>
|
||||
<input type="number" id="Quantity" name="quantity" class="form-control" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="UnitId" class="control-label">Unit</label>
|
||||
<select id="UnitId" name="unitId" class="form-control" asp-items="ViewBag.Units"></select>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Add Ingredient</button>
|
||||
</form>
|
||||
|
||||
@section Scripts {
|
||||
<partial name="_ValidationScriptsPartial" />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user