Adds an asterisk to required backend form fields
This commit is contained in:
parent
a19cd6f76b
commit
6219c9ef1b
|
|
@ -5,7 +5,10 @@
|
|||
<?php else: ?>
|
||||
|
||||
<?php if ($field->label): ?>
|
||||
<label for="<?= $field->getId() ?>"><?= e(trans($field->label)) ?></label>
|
||||
<label for="<?= $field->getId() ?>">
|
||||
<?= e(trans($field->label)) ?>
|
||||
<?= ($field->required ? '*' : '') ?>
|
||||
</label>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($field->comment && $field->commentPosition == 'above'): ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue