Initial Commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
@if (Entity!.Mechanics().Count > 0)
|
||||
{
|
||||
<EntityDisplayComponent Title="Mechanics">
|
||||
<div>
|
||||
@foreach (var data in Entity.Mechanics())
|
||||
{
|
||||
<div>
|
||||
<div>
|
||||
<span>
|
||||
<b>Name:</b> @data.Name
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<b>Description:</b> @data.Description
|
||||
</div>
|
||||
<br/>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
</EntityDisplayComponent>
|
||||
}
|
||||
|
||||
@code {
|
||||
|
||||
[CascadingParameter] public EntityModel? Entity { get; set; }
|
||||
|
||||
[CascadingParameter] public string StyleType { get; set; } = "Detailed";
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user