This commit is contained in:
Ajay Bhargav Baaskaran 2015-03-17 14:05:17 -07:00
parent d2bdd4f1d4
commit 1c00cfe7aa
1 changed files with 2 additions and 10 deletions

View File

@ -31,7 +31,7 @@
<ul>
@foreach (var property in metadata.Properties)
{
@PropertyListItem(property)
<li>Property @property.PropertyName is type @property.ModelType.Name and '@(property.Description ?? "no description")'</li>
}
</ul>
}
@ -114,12 +114,4 @@
</table>
}
</div>
</div>
@helper PropertyListItem(ModelMetadata property)
{
var propertyName = property.PropertyName;
var propertyTypeName = property.ModelType.Name;
<li>Property @propertyName is type @propertyTypeName and '@(property.Description ?? "no description")'</li>
}
</div>