30 lines
641 B
Plaintext
30 lines
641 B
Plaintext
@model LOC.Core.LogEntry
|
|
|
|
@{
|
|
ViewBag.Title = "Delete";
|
|
}
|
|
|
|
<h2>Delete</h2>
|
|
|
|
<h3>Are you sure you want to delete this?</h3>
|
|
<fieldset>
|
|
<legend>LogEntry</legend>
|
|
|
|
<div class="display-label">Date</div>
|
|
<div class="display-field">@String.Format("{0:g}", Model.Date)</div>
|
|
|
|
<div class="display-label">Category</div>
|
|
<div class="display-field">@Model.Category</div>
|
|
|
|
<div class="display-label">Message</div>
|
|
<div class="display-field">@Model.Message</div>
|
|
</fieldset>
|
|
@using (Html.BeginForm()) {
|
|
<p>
|
|
<input type="submit" value="Delete" /> |
|
|
@Html.ActionLink("Back to List", "Index")
|
|
</p>
|
|
}
|
|
|
|
|