BAEL-5039: edit identation

This commit is contained in:
achraftt 2022-02-16 14:22:45 +01:00
parent a4639b70e8
commit adca84eca2
2 changed files with 38 additions and 38 deletions

View File

@ -1,12 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" <html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://www.thymeleaf.org"> xmlns:th="http://www.thymeleaf.org">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Baeldung - using a datepicker to submit date</title> <title>Baeldung - using a datepicker to submit date</title>
</head> </head>
<body> <body>
<h1>Student birth date</h1> <h1>Student birth date</h1>
<p th:text="${#dates.format(student.birthDate, 'dd/MM/yyyy')}"></p> <p th:text="${#dates.format(student.birthDate, 'dd/MM/yyyy')}"></p>
</body> </body>
</html> </html>

View File

@ -1,42 +1,42 @@
<!DOCTYPE html> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" <html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://www.thymeleaf.org"> xmlns:th="http://www.thymeleaf.org">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Baeldung - using a datepicker to submit date</title> <title>Baeldung - using a datepicker to submit date</title>
</head> </head>
<body> <body>
<form th:action="@{/saveStudent}" method="post" th:object="${student}"> <form th:action="@{/saveStudent}" method="post" th:object="${student}">
<div> <div>
<div> <div>
<label for="student-id">ID:</label> <label for="student-id">ID:</label>
<input type="number" th:field="${student.id}" id="student-id"/> <input type="number" th:field="${student.id}" id="student-id"/>
</div> </div>
</br> </br>
<div> <div>
<label for="student-name">Name:</label> <label for="student-name">Name:</label>
<input type="text" th:field="${student.name}" id="student-name"/> <input type="text" th:field="${student.name}" id="student-name"/>
</div> </div>
</br> </br>
<div> <div>
<label for="student-gender">Gender:</label> <label for="student-gender">Gender:</label>
<input type="text" th:field="${student.gender}" id="student-gender"/> <input type="text" th:field="${student.gender}" id="student-gender"/>
</div> </div>
</br> </br>
<div> <div>
<label for="student-birth-date">Date of birth:</label> <label for="student-birth-date">Date of birth:</label>
<input type="date" th:field="${student.birthDate}" id="student-birth-date"/> <input type="date" th:field="${student.birthDate}" id="student-birth-date"/>
</div> </div>
</br> </br>
<div> <div>
<label for="student-percentage">Percentage:</label> <label for="student-percentage">Percentage:</label>
<input type="number" th:field="${student.percentage}" id="student-percentage"/> <input type="number" th:field="${student.percentage}" id="student-percentage"/>
</div> </div>
</br> </br>
<div> <div>
<button type="submit" class="button">Submit</button> <button type="submit" class="button">Submit</button>
</div> </div>
</div> </div>
</form> </form>
</body> </body>
</html> </html>