@model MileageTraker.Web.ViewModels.CreateLog.EditPastViewModel
@{
    
    ViewBag.Title = "Edit Mileage Log";
}

@Html.Partial("_StatusMessage")

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

@using (Html.BeginForm("EditPast", "CreateLog", FormMethod.Post, new { @class = "form-horizontal well center-content" }))
{
    <fieldset>
        <legend></legend>
        @Html.Partial("_ValidationSummary")
        @Html.EditorForModel()
        <div class="form-actions">
	        <input type="submit" value="Update" class="btn btn-primary" />
			@Html.ActionLink("Cancel", "Index", new {}, new { @class = "btn" })
        </div>
    </fieldset>
}
