@model MileageTraker.Web.ViewModels.ServiceReminder.ServiceReminderResultsViewModel

@{
	ViewBag.Title = "Service Reminders";
}

@Html.Partial("_StatusMessage")

<h2 class="center-content"><i class="fa fa-clock-o"></i> @ViewBag.Title</h2>
<h4 class="center-content">for Vehicle @Model.VehicleId</h4>

<div class="center-content">
@foreach (var item in Model.ServiceReminderItems)
{
	Html.RenderPartial("ServiceReminderViewModel", item);
}
</div>

<div class="btn-toolbar center-content well">
	@Html.ActionLink("Add Reminder", "Create", new { vehicleId = Model.VehicleId }, new{@class="btn"})
	@Html.ActionLink("Add Service", "Create", "VehicleService", new { vehicleId = Model.VehicleId }, new { @class = "btn" })
	@Html.ActionLink("Vehicle Details", "Details", "Vehicle", new { id = Model.VehicleId }, new{@class="btn"})
</div>