mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
Fix params for the custom_fields.php
This commit is contained in:
parent
4f2927fb67
commit
5b87d75c10
1 changed files with 3 additions and 3 deletions
|
@ -12,12 +12,12 @@ $disabled = $disabled ?? false; ?>
|
|||
<div class="mb-3">
|
||||
<label for="custom-field-<?= $i ?>" class="form-label">
|
||||
<?= setting('label_custom_field_' . $i) ?: lang('custom_field') . ' #' . $i ?>
|
||||
<?php if (vars('require_custom_field_' . $i)): ?>
|
||||
<span class="text-danger" hidden>*</span>
|
||||
<?php if (setting('require_custom_field_' . $i)): ?>
|
||||
<span class="text-danger" <?= $disabled ? 'hidden' : '' ?>>*</span>
|
||||
<?php endif; ?>
|
||||
</label>
|
||||
<input type="text" id="custom-field-<?= $i ?>"
|
||||
class="<?= vars('require_custom_field_' . $i) ? 'required' : '' ?> form-control"
|
||||
class="<?= setting('require_custom_field_' . $i) ? 'required' : '' ?> form-control"
|
||||
maxlength="120" <?= $disabled ? 'disabled' : '' ?>/>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Reference in a new issue