@model MileageTraker.Web.ViewModels.Log.LogViewModel

@{
    ViewBag.Title = "Log Details";
}

@{ Html.RenderPartial("BackToLogs"); }

@Html.Partial("_StatusMessage")

<h2 class="center-content"><i class="fa fa-road"></i> @ViewBag.Title</h2>

<div>
    <ul class="pager">
        <li class="previous">
            @Html.ActionLink("Previous", "PreviousDetails", new { id = Model.LogId })
        </li>
        <li class="next">
            @Html.ActionLink("Next", "NextDetails", new { id = Model.LogId })
        </li>
    </ul>
</div>

<div class="center-content well">
    @Html.DisplayForModel()
</div>

<div class="center-content btn-toolbar">
    @Html.ActionLink("Edit", "Edit", new { id = Model.LogId }, new { @class = "btn" })
    @Html.ActionLink("Delete", "Delete", new { id = Model.LogId }, new { @class = "btn" })
</div>