@model MileageTraker.Web.Models.Vehicle

@{
    ViewBag.Title = "Edit Vehicle";
}

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

@Html.Partial("_StatusMessage")

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

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