mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-24 01:32:25 +01:00
3 lines
432 B
PHP
3 lines
432 B
PHP
<?php if ($field->has('label')): ?><label for="<?= $field->name() ?>"><?= $field->label() ?></label><?php endif; ?>
|
|
<input type="range" id="<?= $field->name() ?>" name="<?= $field->name() ?>" min="<?= $field->get('min') ?>" max="<?= $field->get('max') ?>" step="<?= $field->get('step') ?>" value="<?= $field->value() ?>"<?= $field->get('required') ? ' required' : '' ?>><span class="range-input-value"><?= $field->value() ?></span>
|