aboutsummaryrefslogtreecommitdiff
path: root/templates/forms/number_input.php
blob: 6c9d3ef322590a43f9aeeaa63ec97c10ac628821 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<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>
<input type="number"
       v-model="<?= htmlReady($name) ?>"
       name="<?= htmlReady($name) ?>"
       value="<?= htmlReady($value) ?>"
       id="<?= $id ?>"
       <?= ($required ? 'required aria-required="true"' : '') ?>
       <?= $attributes ?>>