Marshal Guard

@if (!isCreateMarshalGuard) {
} @if (isCreateMarshalGuard) {
@if (f['eventDate'].invalid && (f['eventDate'].dirty || f['eventDate'].touched)) {
@if (f['eventDate'].hasError('required')) {

eventDate is required

}
}
@if (f['level'].invalid && (f['level'].dirty || f['level'].touched)) {
@if (f['level'].hasError('required')) {

Level is required

}
}
@if (playerSelected) {

{{participatedPlayer}} players participated

{{notParticipatedPlayer}} player did not participated

} @else {

Please add participants

}
} @if(!isCreateMarshalGuard) { @if (marshalGuards.length > 0) {
@for (marshalGuard of marshalGuards; track marshalGuard.id) { }
Event Date Level Reward Phase Alliance Size Participating players Creator Action
{{marshalGuard.eventDate | date: 'dd.MM.yyyy'}} {{marshalGuard.level}} {{marshalGuard.allianceSize}} {{marshalGuard.participants}} {{marshalGuard.createdBy}}
} @else { } }