improve spinner ids

This commit is contained in:
Thomas Rupprecht 2022-12-05 02:03:36 +01:00 committed by Michael Weimann
parent 7a376399b8
commit 3bcbca97ab
2 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ function shift_edit_controller()
$angel_types_spinner = ''; $angel_types_spinner = '';
foreach ($angeltypes as $angeltype_id => $angeltype_name) { foreach ($angeltypes as $angeltype_id => $angeltype_name) {
$angel_types_spinner .= form_spinner( $angel_types_spinner .= form_spinner(
'type_' . $angeltype_id, 'angeltype_count_' . $angeltype_id,
$angeltype_name, $angeltype_name,
$needed_angel_types[$angeltype_id] $needed_angel_types[$angeltype_id]
); );

View File

@ -420,7 +420,7 @@ function admin_shifts()
foreach ($types as $type) { foreach ($types as $type) {
$angel_types .= '<div class="col-sm-6 col-md-8 col-lg-6 col-xl-4 col-xxl-3">' $angel_types .= '<div class="col-sm-6 col-md-8 col-lg-6 col-xl-4 col-xxl-3">'
. form_spinner( . form_spinner(
'type_' . $type->id, 'angeltype_count_' . $type->id,
$type->name, $type->name,
$needed_angel_types[$type->id] $needed_angel_types[$type->id]
) )