26 lines
995 B
HTML
26 lines
995 B
HTML
<!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}">
|
|
<head>
|
|
<title>Добавить переменную</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
</head>
|
|
<div class="container" layout:fragment="content">
|
|
<form action="/addVariable" th:object="${addVariableForm}" method="post">
|
|
<input type="hidden" th:field="*{id}">
|
|
<div class="row">
|
|
<div class="col-md-2 col-sm-12">
|
|
<input class="form-control" type="text" th:field="*{name}">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-md-4 col-sm-12">
|
|
<input type="submit" class="btn btn-outline-success m-2" value="Создать переменную"/>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</html>
|