aboutsummaryrefslogtreecommitdiff
path: root/templates/forms/i18n_text_input.php
blob: 5e99cd1cb517204fd6b832e845530f80653b4bc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<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>
    <i18n-textarea type="text"
                   id="<?= $id ?>"
                   name="<?= htmlReady($this->name) ?>"
                   value="<?= htmlReady($value) ?>"
                   <?= $required ? 'required' : '' ?>
                   @allinputs="setInputs">
    </i18n-textarea>
</div>