formwork/panel/views/fields/password.php
Giuseppe Criscione a18df4a0f8 Format php files
2024-04-27 13:06:15 +02:00

16 lines
726 B
PHP

<?php $this->layout('fields.field') ?>
<input <?= $this->attr([
'class' => 'form-input',
'type' => 'password',
'id' => $field->name(),
'name' => $field->formName(),
'value' => $field->value(),
'placeholder' => $field->placeholder(),
'minlength' => $field->get('min'),
'maxlength' => $field->get('max'),
'pattern' => $field->get('pattern'),
'autocomplete' => $field->get('autocomplete'),
'required' => $field->isRequired(),
'disabled' => $field->isDisabled(),
'hidden' => $field->isHidden(),
]) ?>>