Service reminder implemented.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
@model MileageTraker.Web.ViewModels.VehicleService.UpdateServiceRemindersViewModel
|
||||
|
||||
@{
|
||||
ViewBag.Title = "Update Service Reminders";
|
||||
}
|
||||
|
||||
@Html.Partial("_StatusMessage")
|
||||
|
||||
<h2 class="center-content"><i class="fa fa-clock-o"></i> @ViewBag.Title</h2>
|
||||
<h5 class="center-content">Add the next service for this vehicle and remove existing reminders.</h5>
|
||||
|
||||
@using (Html.BeginForm("UpdateServiceReminders", "VehicleService", FormMethod.Post, new { @class = "form-horizontal well center-content" }))
|
||||
{
|
||||
@Html.Partial("_ValidationSummary")
|
||||
@Html.HiddenFor(m => m.VehicleId)
|
||||
if (Model.DeleteServiceReminders.Available.Count > 0)
|
||||
{
|
||||
<fieldset>
|
||||
<legend>Delete Reminders for this Vehicle?</legend>
|
||||
@Html.EditorFor(m => m.DeleteServiceReminders)
|
||||
</fieldset>
|
||||
}
|
||||
<fieldset>
|
||||
<legend>Add a new Reminder?</legend>
|
||||
@Html.DisplayFor(m => m.CurrentOdometer)
|
||||
@Html.EditorFor(m => m.TargetOdometer)
|
||||
@Html.EditorFor(m => m.Description)
|
||||
</fieldset>
|
||||
<div class="form-actions">
|
||||
<input type="submit" value="Update" class="btn btn-primary" />
|
||||
</div>
|
||||
}
|
||||
Reference in New Issue
Block a user