cssOMS/tests/app/helper/checkbox.tpl.php
2022-01-29 20:49:21 +01:00

6 lines
365 B
PHP

<?php $tableCheckboxCounter = !isset($tableCheckboxCounter) ? 0 : $tableCheckboxCounter; ?>
<label class="checkbox" for="<?= $tableId ?>-check-<?= $tableCheckboxCounter ?>">
<input type="checkbox" id="<?= $tableId ?>-check-<?= $tableCheckboxCounter ?>" name="<?= $tableId ?>-check">
<span class="checkmark"></span>
</label>
<?php ++$tableCheckboxCounter; ?>