You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
762 B
32 lines
762 B
@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; } = default!; |
|
|
|
[CascadingParameter] |
|
public string StyleType { get; set; } = "Detailed"; |
|
|
|
} |