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