mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 10:57:28 +00:00
- Fixed broken paging and aligned vetList and OwnersList - Adding Doctype for consistency - Removed html5shim and respond for IE < 9 - Reformatting HTML Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
25 lines
No EOL
1 KiB
HTML
25 lines
No EOL
1 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html xmlns:th="https://www.thymeleaf.org" th:replace="~{fragments/layout :: layout (~{::body},'owners')}">
|
|
|
|
<body>
|
|
|
|
<h2 th:text="#{owner}">Owner</h2>
|
|
<form th:object="${owner}" class="form-horizontal" id="add-owner-form" method="post">
|
|
<div class="form-group has-feedback">
|
|
<input th:replace="~{fragments/inputField :: input (#{firstName}, 'firstName', 'text')}" />
|
|
<input th:replace="~{fragments/inputField :: input (#{lastName}, 'lastName', 'text')}" />
|
|
<input th:replace="~{fragments/inputField :: input (#{address}, 'address', 'text')}" />
|
|
<input th:replace="~{fragments/inputField :: input (#{city}, 'city', 'text')}" />
|
|
<input th:replace="~{fragments/inputField :: input (#{telephone}, 'telephone', 'text')}" />
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="col-sm-offset-2 col-sm-10">
|
|
<button th:with="text=${owner['new']} ? #{addOwner} : #{updateOwner}" class="btn btn-primary" type="submit"
|
|
th:text="${text}">Add Owner</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
|
|
</html> |