Add aspirant edit templates

This commit is contained in:
Anton Romanov 2025-01-29 14:14:22 +04:00
parent 232dc68db4
commit 3b877050b7
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.w3.org/1999/xhtml"
layout:decorate="~{default}">
<div class="container" layout:fragment="content">
<a href="/admin/editAspirant/0" class="btn btn-outline-dark">
<i class="fa fa-plus-square" aria-hidden="true"> Добавить аспиранта</i>
</a>
<ul>
<li th:each="a : ${aspirants}">
<a th:href="@{'/admin/editAspirant/' + ${a.id}}">
<span th:text="{${a.surname} + ' '+ ${a.name} + ' ' + ${a.patronymic}}"></span>
</a>
</li>
</ul>
</div>
</html>