Fuel Log Match

This commit is contained in:
2015-09-22 21:11:47 -04:00
parent 27375bbb65
commit 829d84d73e
18 changed files with 748 additions and 233 deletions
@@ -0,0 +1,17 @@
@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>
}