aboutsummaryrefslogtreecommitdiff
path: root/templates/forms
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2023-06-05 09:13:33 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2023-06-05 09:13:33 +0000
commit7755d57d56567006e953753b7bcac5c4bab21dbe (patch)
treefb81eb6a1bc84f6c9f9516a1d1699e9f3fb4b492 /templates/forms
parent02c0acf89b11eb375f08b10683dec13636a530ea (diff)
fixes #2705
Closes #2705 Merge request studip/studip!1823
Diffstat (limited to 'templates/forms')
-rw-r--r--templates/forms/i18n_formatted_input.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/forms/i18n_formatted_input.php b/templates/forms/i18n_formatted_input.php
index f47d775..4e667f5 100644
--- a/templates/forms/i18n_formatted_input.php
+++ b/templates/forms/i18n_formatted_input.php
@@ -7,7 +7,7 @@
<span class="asterisk" title="<?= _('Dies ist ein Pflichtfeld') ?>" aria-hidden="true">*</span>
<? endif ?>
</label>
- <i18n-textarea type="<?= \Config::get()->WYSIWYG ? 'wysiwyg' : 'textarea' ?>"
+ <i18n-textarea type="wysiwyg"
id="<?= $id ?>"
name="<?= htmlReady($name) ?>"
value="<?= htmlReady($value) ?>"