Add vehicle active/inactive state

This commit is contained in:
2015-06-18 10:59:07 -04:00
parent c7d7fa265e
commit 5d70617194
12 changed files with 155 additions and 19 deletions
@@ -2,7 +2,11 @@
@{
Layout = null;
}
@foreach (var prop in ViewData.ModelMetadata.Properties.Where(pm => pm.ShowForDisplay && !pm.HideSurroundingHtml && !pm.ModelType.IsCollection()))
@foreach (var prop in ViewData.ModelMetadata.Properties.Where(
pm => pm.ShowForDisplay
&& !pm.HideSurroundingHtml
&& !pm.ModelType.IsCollection()
))
{
@Html.Display(prop.PropertyName)
}