37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
|
@model ThAmCo.Events.Data.Food
|
||
|
|
||
|
@{
|
||
|
ViewData["Title"] = "Edit";
|
||
|
}
|
||
|
|
||
|
<h2>Edit</h2>
|
||
|
|
||
|
<h4>Food</h4>
|
||
|
<hr />
|
||
|
<div class="row">
|
||
|
<div class="col-md-4">
|
||
|
<form asp-action="Edit">
|
||
|
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||
|
<input type="hidden" asp-for="Id" />
|
||
|
<div class="form-group">
|
||
|
<label asp-for="Items" class="control-label"></label>
|
||
|
<input asp-for="Items" class="form-control" />
|
||
|
<span asp-validation-for="Items" class="text-danger"></span>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label asp-for="Price" class="control-label"></label>
|
||
|
<input asp-for="Price" class="form-control" />
|
||
|
<span asp-validation-for="Price" class="text-danger"></span>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<input type="submit" value="Save" class="btn btn-default" />
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div>
|
||
|
<a asp-action="Index">Back to List</a>
|
||
|
</div>
|
||
|
|