23 lines
857 B
HTML
23 lines
857 B
HTML
|
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
|
||
|
<html xmlns:th="http://www.thymeleaf.org"
|
||
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||
|
layout:decorate="~{default}">
|
||
|
<head>
|
||
|
<title>Простая обработка формы на Spring MVC</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||
|
</head>
|
||
|
<div class="container" layout:fragment="content">
|
||
|
<body>
|
||
|
<form action="#" th:action="@{/sendRepo}" th:object="${repoForm}" method="post">
|
||
|
<p style="color:red" th:text="${error}"></p>
|
||
|
<p><b>Ваш git репозиторий:</b><br>
|
||
|
<input type="text" size="40" th:field="*{repo}">
|
||
|
</p>
|
||
|
<p>
|
||
|
<input type="submit" value="Отправить"/>
|
||
|
</p>
|
||
|
</form>
|
||
|
</body>
|
||
|
</div>
|
||
|
</html>
|