28 lines
808 B
Plaintext
28 lines
808 B
Plaintext
@model MileageTraker.Web.Models.Log
|
|
|
|
@{
|
|
ViewBag.Title = "Log Details";
|
|
}
|
|
|
|
<h2>@ViewBag.Title</h2>
|
|
<div>
|
|
@Html.ActionLink("Back to List", "Index", null, new { @class = "btn" })
|
|
@Html.ActionLink("Edit", "Edit", new { id = Model.LogId }, new { @class = "btn" })
|
|
@Html.ActionLink("Delete", "Delete", new { id = Model.LogId }, new { @class = "btn" })
|
|
</div>
|
|
|
|
@Html.DisplayForModel()
|
|
|
|
<div>
|
|
<ul class="pager">
|
|
<li class="previous">
|
|
@Html.ActionLink("Previous", "PreviousDetails", new { id = Model.LogId })
|
|
</li>
|
|
@if(TempData["Message"] != null) {
|
|
<span class="alert">@TempData["Message"]</span>
|
|
}
|
|
<li class="next">
|
|
@Html.ActionLink("Next", "NextDetails", new { id = Model.LogId })
|
|
</li>
|
|
</ul>
|
|
</div> |