Leaf Input Details
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
@{
|
||||
Layout = null;
|
||||
}
|
||||
@foreach (var prop in ViewData.ModelMetadata.Properties.Where(
|
||||
pm => pm.ShowForDisplay
|
||||
&& !pm.HideSurroundingHtml
|
||||
//&& !pm.ModelType.IsCollection()
|
||||
))
|
||||
{
|
||||
@Html.Display(prop.PropertyName)
|
||||
}
|
||||
Reference in New Issue
Block a user