Files
MileageTraker/Web/Views/CreateLog/EditPast.cshtml
T
poprhythm 9c2149d52c Add cancel button for edit log.
Disable edit button for past month
Format gas correctly
2014-01-21 11:30:17 -05:00

23 lines
650 B
Plaintext

@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="Submit" class="btn btn-primary" />
@Html.ActionLink("Cancel", "Index", new {}, new { @class = "btn" })
</div>
</fieldset>
}