mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-24 17:52:41 +01:00
3 lines
348 B
PHP
3 lines
348 B
PHP
<?php if ($field->has('label')): ?><label for="<?= $field->name() ?>"><?= $field->label() ?></label><?php endif; ?>
|
|
<input type="email" id="<?= $field->name() ?>" name="<?= $field->name() ?>" value="<?= $field->value() ?>"<?php if ($field->get('required')): ?> required<?php endif; ?><?php if ($field->get('disabled')): ?> disabled<?php endif; ?>>
|