49 lines
No EOL
1.3 KiB
Text
49 lines
No EOL
1.3 KiB
Text
@model turf_tasker.Models.LawnCareEvent
|
|
|
|
@{
|
|
ViewData["Title"] = "Delete";
|
|
}
|
|
|
|
<h1>Delete</h1>
|
|
|
|
<h3>Are you sure you want to delete this?</h3>
|
|
<div>
|
|
<h4>Lawn Care Event</h4>
|
|
<hr />
|
|
<dl class="row">
|
|
<dt class = "col-sm-2">
|
|
@Html.DisplayNameFor(model => model.EventType)
|
|
</dt>
|
|
<dd class = "col-sm-10">
|
|
@Html.DisplayFor(model => model.EventType)
|
|
</dd>
|
|
<dt class = "col-sm-2">
|
|
@Html.DisplayNameFor(model => model.EventDate)
|
|
</dt>
|
|
<dd class = "col-sm-10">
|
|
@Html.DisplayFor(model => model.EventDate)
|
|
</dd>
|
|
<dt class = "col-sm-2">
|
|
@Html.DisplayNameFor(model => model.MowingPattern)
|
|
</dt>
|
|
<dd class = "col-sm-10">
|
|
@Html.DisplayFor(model => model.MowingPattern)
|
|
</dd>
|
|
<dt class = "col-sm-2">
|
|
@Html.DisplayNameFor(model => model.Notes)
|
|
</dt>
|
|
<dd class = "col-sm-10">
|
|
@Html.DisplayFor(model => model.Notes)
|
|
</dd>
|
|
</dl>
|
|
|
|
<form asp-action="Delete">
|
|
<input type="hidden" asp-for="Id" />
|
|
<input type="submit" value="Delete" class="btn btn-danger" />
|
|
|
|
</form>
|
|
|
|
<div class="mt-3">
|
|
<a asp-action="Index">Back to List</a>
|
|
</div>
|
|
</div> |