38 lines
980 B
Plaintext
38 lines
980 B
Plaintext
@model ThAmCo.Events.Data.GuestBooking
|
|
|
|
@{
|
|
ViewData["Title"] = "Edit";
|
|
}
|
|
|
|
<h2>Edit</h2>
|
|
|
|
<h4>GuestBooking</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="CustomerId" />
|
|
<input type="hidden" asp-for="EventId" />
|
|
<div class="form-group">
|
|
<div class="checkbox">
|
|
<label>
|
|
<input asp-for="Attended" /> @Html.DisplayNameFor(model => model.Attended)
|
|
</label>
|
|
</div>
|
|
</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>
|
|
|
|
@section Scripts {
|
|
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
}
|