$character):
(new ToggleButton([
'type' => 'radio',
'name' => 'rad_character',
'text' => $character->name,
'color' => $character->color,
'icon_yes' => 'o-check',
'checked' => $character->ID == $this->character->ID,
'row' => false,
]))->render();
endforeach; ?>
Anwesenheit
getStatusList(true) as $key => $status) {
(new ToggleButton([
'type' => 'radio',
'name' => 'raid_status',
'text' => $status->name,
'color' => $status->color,
'icon_yes' => $status->icon,
'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,
'checked' => $key == $this->role,
'row' => false,
]))->render();
}
?>
Kommentar