2024-06-08 11:49:42 +02:00

16 lines
793 B
PHP

<?php $this->layout('fields.field') ?>
<div class="form-input-wrap">
<span class="form-input-icon"><?= $this->icon('calendar-clock') ?></span>
<input <?= $this->attr([
'type' => 'text',
'class' => ['form-input', 'form-input-date'],
'id' => $field->name(),
'name' => $field->formName(),
'value' => $field->value(),
'placeholder' => $field->placeholder(),
'required' => $field->isRequired(),
'disabled' => $field->isDisabled(),
'hidden' => $field->isHidden(),
]) ?>>
<span class="form-input-reset" data-reset="<?= $field->name() ?>"><?= $this->icon('times-circle') ?></span>
</div>