feat(fullstack): Replace TITLE_BODY element with rich text editor
This commit is contained in:
@@ -173,12 +173,9 @@
|
||||
<p th:if="${elem.options.isEmpty() || elem.options.?[!value.isEmpty()].isEmpty()}">Kein Datum ausgewählt</p>
|
||||
</div>
|
||||
|
||||
<div th:case="'TITLE_BODY_TEXTFIELDS'">
|
||||
<div th:case="'RICH_TEXT'">
|
||||
<div th:each="option : ${elem.options}">
|
||||
<div th:if="${!option.value.isEmpty()}" th:with="parts=${#strings.arraySplit(option.value, '|||')}">
|
||||
<strong th:text="${parts.length > 0 ? parts[0] : ''}"></strong>
|
||||
<p th:text="${parts.length > 1 ? parts[1] : ''}"></p>
|
||||
</div>
|
||||
<div th:if="${!option.value.isEmpty()}" th:utext="${option.value}"></div>
|
||||
</div>
|
||||
<p th:if="${elem.options.isEmpty() || elem.options.?[!value.isEmpty()].isEmpty()}">Keine Eingabe</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user