Add vehicle recall

This commit is contained in:
2020-09-20 22:07:13 -04:00
parent b5589103ec
commit 6f031c5cb6
34 changed files with 890 additions and 45 deletions
+24
View File
@@ -0,0 +1,24 @@
@model MileageTraker.Web.ViewModels.VehicleRecall.VehicleRecallViewModel
@{
ViewBag.Title = "Delete Vehicle Recall";
}
@Html.Partial("_StatusMessage")
<h2 class="center-content"><i class="fa fa-refresh"></i> @ViewBag.Title</h2>
<div class="center-content label label-warning">Are you sure you wish to delete this recall?</div>
<div class="center-content well">
@Html.DisplayForModel()
@using (Html.BeginForm("Delete", "VehicleRecall", FormMethod.Post, new { @class = "form-horizontal" }))
{
<div class="form-actions">
<input type="submit" value="Delete" class="btn btn-warning" />
@Html.ActionLink("Cancel", "Details", new { id = Model.VehicleRecallId }, new { @class = "btn" })
</div>
}
</div>