Lab variants: redirect back anchors to the saved variant with highlight

This commit is contained in:
2026-10-07 23:47:46 +03:00
parent ab35eb7607
commit 99b8671650
3 changed files with 19 additions and 8 deletions

View File

@@ -99,7 +99,7 @@
</div>
</div>
<div th:each="v : ${level.variants}" class="variant-block mb-4">
<div th:each="v : ${level.variants}" class="variant-block mb-4" th:id="'variant-' + ${v.id}">
<div class="flex flex-wrap items-center justify-between gap-2">
<div class="variant-name">Вариант <b th:text="${v.number}">—</b><span th:if="${v.title}"
class="text-muted"