mirror of
https://github.com/getformwork/formwork.git
synced 2025-01-17 21:49:04 +01:00
16 lines
793 B
PHP
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>
|