feat: preserve form values and show field errors on submit

- keep submitted values and API field violations across redirects
- reopen the failed modal and highlight invalid fields
- show inline HTML5 validation messages instead of browser bubbles
- keep content-admin errors on the originating page
This commit is contained in:
2026-10-22 22:41:35 +03:00
parent 3827955909
commit d287dd3119
20 changed files with 636 additions and 66 deletions

View File

@@ -345,7 +345,7 @@
<div class="dlg-body" id="assign-modal-body"></div>
</dialog>
<script th:src="@{/js/admin-group.js(v='36')}" defer></script>
<script th:src="@{/js/admin-group.js(v='37')}" defer></script>
</div>
</body>
</html>