@using MileageTraker.Web.ViewModels.Log
@model LogViewModel

@{
	Layout = null;
}

@using (Html.BeginForm("Create", "Log", FormMethod.Post, new {@class="form-inline"}))
{
	@Html.HiddenFor(m => m.CityName)
	@Html.HiddenFor(m => m.UserFullName)
	@Html.HiddenFor(m => m.EndOdometer)
	@Html.HiddenFor(m => m.VehicleId)
	@Html.TextBoxFor(m => m.Date, "{0:d}", new { @type = "hidden" })
	@Html.HiddenFor(m => m.GasPurchased)
	<p>Correct mileage log doesn't exist? <input type="submit" class="btn" value="Create New Mileage Log"/></p>
}
