aboutsummaryrefslogtreecommitdiff
path: root/templates/forms/datetimepicker_input.php
blob: f2d6b9271b9a450ee40074c33465b6824165b670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div class="formpart">
    <label<?= ($this->required ? ' class="studiprequired"' : '') ?> for="<?= $id ?>">
        <span class="textlabel">
            <?= htmlReady($this->title) ?>
        </span>
        <? if ($this->required) : ?>
            <span class="asterisk" title="<?= _('Dies ist ein Pflichtfeld') ?>" aria-hidden="true">*</span>
        <? endif ?>
    </label>
    <datetimepicker v-model="<?= htmlReady($name) ?>"
                    name="<?= htmlReady($name) ?>"
                    id="<?= $id ?>"
                    <?= ($this->required ? 'required aria-required="true"' : '')?>
                    <?= $attributes ?>>
</div>