@model MileageTraker.Web.ViewModels.Log.LogViewModel

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

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

@Html.Partial("_StatusMessage")

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

<div class="center-content label label-warning">Are you sure you wish to delete this log?</div>

<div class="center-content well">

    @Html.DisplayForModel()

    @using (Html.BeginForm("Delete", "Log", FormMethod.Post, new { @class = "form-horizontal" }))
    {
        <div class="form-actions">
            <input type="submit" value="Delete" class="btn btn-warning" />
            @Html.ActionLink("Cancel", "Details", new { id = Model.LogId }, new { @class = "btn" })
        </div>
    }
</div>