Add aspirant edit templates
This commit is contained in:
parent
232dc68db4
commit
3b877050b7
17
src/main/resources/templates/admin/aspirantsList.html
Normal file
17
src/main/resources/templates/admin/aspirantsList.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user