aboutsummaryrefslogtreecommitdiff
path: root/templates/forms/wysiwyg_input.php
blob: 48f507ee1c2a82da09c475cfa649fd8c67066a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div class="formpart" data-form-input-for="<?= htmlReady($name) ?>">
    <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>
    <studip-wysiwyg
       id="<?= $id ?>"
       v-model="<?= htmlReady($name) ?>"
       name="<?= htmlReady($this->name) ?>"
       value="<?= htmlReady($value) ?>"
       <?= $required ? 'required' : '' ?>>
    </studip-wysiwyg>
    </div>