improve spinner ids
This commit is contained in:
parent
7a376399b8
commit
3bcbca97ab
|
@ -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]
|
||||||
);
|
);
|
||||||
|
|
|
@ -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]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue