formwork/admin/views/fields/checkbox.php
Giuseppe Criscione 270d6fc793 Fix hard tabs
2018-06-16 17:49:27 +02:00

7 lines
307 B
PHP
Executable File

<div>
<label class="checkbox-label">
<input type="checkbox" class="custom-checkbox" id="<?= $field->name() ?>" name="<?= $field->name() ?>"<?php if ($field->value() == true): ?> checked<?php endif; ?>>
<span class="custom-checkbox-text"><?= $field->label() ?></span>
</label>
</div>