Fix Thymeleaf syntax for fragment replacement in asset creation pages

This commit is contained in:
2025-06-07 19:22:14 +02:00
parent e703da995e
commit a9889511d1
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
<body th:replace="fragments :: base(title='Select type to create', content=~{::content})">
<body th:replace="~{fragments :: base(title='Select type to create', content=~{::content})}">
<div th:fragment="content">
Create a <span th:text="${descriptor.displayName}"></span>
<form th:action="'/asset/'+${descriptor.getType()}" method="post">

View File

@@ -1,4 +1,4 @@
<body th:replace="fragments :: base(title='Select type to create', content=~{::content})">
<body th:replace="~{fragments :: base(title='Select type to create', content=~{::content})}">
<div th:fragment="content">
Create a new device
<ul>