aboutsummaryrefslogtreecommitdiff
path: root/templates/forms/serial_wysiwyg_input.php
blob: f67a0c14f45d75f67f510654f0b10e74890c098b (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="<?= htmlReady($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>
    <serial-text-markers :markers="<?= htmlReady($markers) ?>" editor="<?= htmlReady($id) ?>"></serial-text-markers>
    <studip-wysiwyg
        id="<?= htmlReady($id) ?>"
        v-model="<?= htmlReady($name) ?>"
        value="<?= htmlReady($value) ?>"
        <?= $required ? 'required' : '' ?>>
    </studip-wysiwyg>
</div>