$character) :
?>
'radio',
'name' => 'raid_character',
'value' => $character->ID,
'text' => $character->name,
'color' => $character->color,
'icon_yes' => 'o-check',
'checked' => $character->ID == $this->character->ID,
'row' => false,
]))->render();
?>
Anwesenheit
getStatusList(true) as $key => $status) {
(new ToggleButton([
'type' => 'radio',
'name' => 'raid_status',
'text' => $status->name,
'color' => $status->color,
'icon_yes' => $status->icon,
'value' => $key,
'checked' => $key == $this->status,
'row' => false,
]))->render();
}
?>
Rolle
getRoleList() as $key => $role) {
(new ToggleButton([
'type' => 'radio',
'name' => 'raid_role',
'text' => $role->name,
'color' => $role->color,
'icon_yes' => $role->icon,
'value' => $key,
'checked' => $key == $this->role,
'row' => false,
]))->render();
}
?>
Kommentar