diff options
| author | Murtaza Sultani <sultani@data-quest.de> | 2025-09-19 13:14:06 +0200 |
|---|---|---|
| committer | Murtaza Sultani <sultani@data-quest.de> | 2025-09-19 13:14:06 +0200 |
| commit | b010106840bde699bedea507537be21f17dc90af (patch) | |
| tree | 0bac0846b41aaf3e32174c89defc3c95f77de3ac /templates | |
| parent | 60dcac6e3c1ee532da14c3f21409f45b339325d8 (diff) | |
Resolve "Im fromSORM fehlt Eingabename des `templates/forms/wysiwyg_input.php`"
Closes #5627
Merge request studip/studip!4243
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/forms/i18n_formatted_input.php | 16 | ||||
| -rw-r--r-- | templates/forms/i18n_text_input.php | 13 | ||||
| -rw-r--r-- | templates/forms/i18n_textarea_input.php | 15 | ||||
| -rw-r--r-- | templates/forms/wysiwyg_input.php | 9 |
4 files changed, 29 insertions, 24 deletions
diff --git a/templates/forms/i18n_formatted_input.php b/templates/forms/i18n_formatted_input.php index bef667c..51d7148 100644 --- a/templates/forms/i18n_formatted_input.php +++ b/templates/forms/i18n_formatted_input.php @@ -7,12 +7,14 @@ <span class="asterisk" title="<?= _('Dies ist ein Pflichtfeld') ?>" aria-hidden="true">*</span> <? endif ?> </label> - <i18n-textarea type="wysiwyg" - id="<?= $id ?>" - name="<?= htmlReady($name) ?>" - value="<?= htmlReady($value) ?>" - @allinputs="setInputs" - @selectlanguage="(language_id) => selectLanguage('<?= htmlReady($this->name) ?>', language_id)" - <?= $required ? 'required' : '' ?>> + <i18n-textarea + type="wysiwyg" + id="<?= $id ?>" + name="<?= htmlReady($name) ?>" + value="<?= htmlReady($value) ?>" + @allinputs="setInputs" + @selectlanguage="(language_id) => selectLanguage('<?= htmlReady($this->name) ?>', language_id)" + <?= $required ? 'required' : '' ?> + > </i18n-textarea> </div> diff --git a/templates/forms/i18n_text_input.php b/templates/forms/i18n_text_input.php index b518962..67d9445 100644 --- a/templates/forms/i18n_text_input.php +++ b/templates/forms/i18n_text_input.php @@ -7,11 +7,12 @@ <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 + type="text" + id="<?= $id ?>" + name="<?= htmlReady($this->name) ?>" + value="<?= htmlReady($value) ?>" + <?= $required ? 'required' : '' ?> + @allinputs="setInputs"> </i18n-textarea> </div> diff --git a/templates/forms/i18n_textarea_input.php b/templates/forms/i18n_textarea_input.php index 01110c6..9b53e38 100644 --- a/templates/forms/i18n_textarea_input.php +++ b/templates/forms/i18n_textarea_input.php @@ -7,12 +7,13 @@ <span class="asterisk" title="<?= _('Dies ist ein Pflichtfeld') ?>" aria-hidden="true">*</span> <? endif ?> </label> - <i18n-textarea type="textarea" - id="<?= $id ?>" - name="<?= htmlReady($this->name) ?>" - value="<?= htmlReady($value) ?>" - <?= $required ? 'required' : '' ?> - @selectlanguage="(language_id) => selectLanguage('<?= htmlReady($this->name) ?>', language_id)" - @allinputs="setInputs"> + <i18n-textarea + type="textarea" + id="<?= $id ?>" + name="<?= htmlReady($this->name) ?>" + value="<?= htmlReady($value) ?>" + <?= $required ? 'required' : '' ?> + @selectlanguage="(language_id) => selectLanguage('<?= htmlReady($this->name) ?>', language_id)" + @allinputs="setInputs"> </i18n-textarea> </div> diff --git a/templates/forms/wysiwyg_input.php b/templates/forms/wysiwyg_input.php index 2fd0c90..48f507e 100644 --- a/templates/forms/wysiwyg_input.php +++ b/templates/forms/wysiwyg_input.php @@ -8,9 +8,10 @@ <? endif ?> </label> <studip-wysiwyg - id="<?= $id ?>" - v-model="<?= htmlReady($name) ?>" - value="<?= htmlReady($value) ?>" - <?= $required ? 'required' : '' ?>> + id="<?= $id ?>" + v-model="<?= htmlReady($name) ?>" + name="<?= htmlReady($this->name) ?>" + value="<?= htmlReady($value) ?>" + <?= $required ? 'required' : '' ?>> </studip-wysiwyg> </div> |
