The timezone dropdown becomes a component for customers_page.php

This commit is contained in:
alextselegidis 2021-11-17 08:42:12 +01:00
parent 532ee4fabc
commit 8ce3a8ffce

View file

@ -13,6 +13,7 @@
* @var string $timezone * @var string $timezone
* @var string $role_slug * @var string $role_slug
* @var array $privileges * @var array $privileges
* @var string $require_phone_number
*/ */
?> ?>
@ -186,13 +187,12 @@
<?= lang('timezone') ?> <?= lang('timezone') ?>
<span class="text-danger">*</span> <span class="text-danger">*</span>
</label> </label>
<?= render_timezone_dropdown('id="timezone" class="form-control required"') ?> <?php component('timezone_dropdown', 'id="timezone" class="form-control required"') ?>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="control-label" for="notes"> <label class="control-label" for="notes">
<?= lang('notes') ?> <?= lang('notes') ?>
</label> </label>
<textarea id="notes" rows="4" class="form-control"></textarea> <textarea id="notes" rows="4" class="form-control"></textarea>
</div> </div>