Skip to content
Snippets Groups Projects
Commit c765e9eb authored by Peter Thienel's avatar Peter Thienel
Browse files

use unique id for checkbox and label behind more link re #384

parent 8f75b55e
No related branches found
No related tags found
No related merge requests found
...@@ -200,14 +200,14 @@ ...@@ -200,14 +200,14 @@
<? foreach ($all_aufbaustgs as $typ => $aufbaustgs) : ?> <? foreach ($all_aufbaustgs as $typ => $aufbaustgs) : ?>
<strong><?= htmlReady($GLOBALS['MVV_AUFBAUSTUDIENGANG']['TYP']['values'][$typ]['name']) ?></strong> <strong><?= htmlReady($GLOBALS['MVV_AUFBAUSTUDIENGANG']['TYP']['values'][$typ]['name']) ?></strong>
<? if (count($aufbaustgs) > 4) : ?> <? if (count($aufbaustgs) > 4) : ?>
<input type="checkbox" class="mvv-cb-more-items" id="cb_more_aufbaustgs" checked> <input type="checkbox" class="mvv-cb-more-items" id="cb_more_aufbaustgs_<?= $typ ?>" checked>
<? endif ?> <? endif ?>
<ul> <ul>
<? foreach ($aufbaustgs as $i => $aufbaustg) : ?> <? foreach ($aufbaustgs as $i => $aufbaustg) : ?>
<li> <li>
<?= htmlReady($aufbaustg->getDisplayName()) ?> <?= htmlReady($aufbaustg->getDisplayName()) ?>
<? if ($i == 3) : ?> <? if ($i == 3) : ?>
<label class="cb-more-items" for="cb_more_aufbaustgs"><?= _('mehr...') ?></label> <label class="cb-more-items" for="cb_more_aufbaustgs_<?= $typ ?>"><?= _('mehr...') ?></label>
<? endif ?> <? endif ?>
</li> </li>
<? endforeach ?> <? endforeach ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment