Files
MileageTraker/Web/Views/Shared/DisplayTemplates/Details.cshtml
T
poprhythm 6a5b37eda9 SelectListViewModel tostring fix
Fix for links in the details to the right controller
2020-10-03 21:59:58 -04:00

19 lines
808 B
Plaintext

@model MileageTraker.Web.ViewModels.VehicleRecall.VehicleRecallViewModel
@{
ViewBag.Title = "Vehicle Recall Details" ;
}
@Html.Partial("_StatusMessage")
<h2 class="center-content"><i class="fa fa-refresh"></i> @ViewBag.Title</h2>
<div class="center-content well">
@Html.DisplayForModel()
</div>
<div class="center-content btn-toolbar">
@Html.ActionLink("Edit", "Edit", "VehicleRecall", new { id = Model.VehicleRecallId }, new { @class = "btn" })
@Html.ActionLink("Delete", "Delete", "VehicleRecall", new { id = Model.VehicleId }, new { @class = "btn" })
@Html.ActionLink("Vehicle Details", "Details", "Vehicle", new { id = Model.VehicleId }, new{@class="btn"})
@Html.ActionLink("Add Service", "Create", "VehicleService", new { VehicleId = Model.VehicleId }, new{@class="btn"})
</div>