Add report form
This commit is contained in:
parent
290bec8f88
commit
5155da2542
28
src/main/resources/templates/aspirant/editReport.html
Normal file
28
src/main/resources/templates/aspirant/editReport.html
Normal file
@ -0,0 +1,28 @@
|
||||
<!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">
|
||||
<h3 th:text="${'Редактирование отчета аспиранта '} +${report.createDate}"></h3>
|
||||
<form action="#" th:action="@{/aspirant/saveReport}"
|
||||
th:object="${report}"
|
||||
method="post">
|
||||
<input type="hidden" th:field="*{id}">
|
||||
|
||||
<div class="form-group" th:each="i, ind : ${indicators}">
|
||||
<label th:text="${i.name}"></label>
|
||||
</div>
|
||||
|
||||
<button name="save" type="submit" class="btn btn-outline-dark">Сохранить</button>
|
||||
<button name="delete"
|
||||
type="submit"
|
||||
class="btn btn-outline-dark"
|
||||
onclick="return confirm('Удалить запись?')">
|
||||
Удалить
|
||||
</button>
|
||||
<a href="/aspirant/reports" class="btn btn-outline-dark">Отмена</a>
|
||||
</form>
|
||||
<link rel="stylesheet" href="/webjars/font-awesome/4.7.0/css/font-awesome.min.css"/>
|
||||
<link rel="stylesheet" href="/webjars/bootstrap-glyphicons/bdd2cbfba0/css/bootstrap-glyphicons.css"/>
|
||||
</div>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user