|
@@ -22,7 +22,9 @@
|
|
|
<!--/*@thymesVar id="place" type="scot.carricksoftware.grants.domains.places.Place"*/-->
|
|
<!--/*@thymesVar id="place" type="scot.carricksoftware.grants.domains.places.Place"*/-->
|
|
|
<div th:insert="~{fragments/layout::banner}"></div>
|
|
<div th:insert="~{fragments/layout::banner}"></div>
|
|
|
|
|
|
|
|
|
|
+
|
|
|
<div class="container border border-info rounded-3 text-center p-4">
|
|
<div class="container border border-info rounded-3 text-center p-4">
|
|
|
|
|
+ <h3>Birth Certificate Details</h3>
|
|
|
<form th:object="${birthCertificateCommand}" th:action="@{/birthCertificate}" method="post">
|
|
<form th:object="${birthCertificateCommand}" th:action="@{/birthCertificate}" method="post">
|
|
|
<div th:if="${#fields.hasErrors('*')}" class="alert alert-danger">
|
|
<div th:if="${#fields.hasErrors('*')}" class="alert alert-danger">
|
|
|
<p>Please Correct The Errors Below</p>
|
|
<p>Please Correct The Errors Below</p>
|
|
@@ -30,28 +32,33 @@
|
|
|
|
|
|
|
|
<table>
|
|
<table>
|
|
|
<tr>
|
|
<tr>
|
|
|
- <td style = "text-align: right;">
|
|
|
|
|
|
|
+ <td style="text-align: right;">
|
|
|
<label for="id">Database Id <span style="color: rgb(255,0,0);">*</span></label>
|
|
<label for="id">Database Id <span style="color: rgb(255,0,0);">*</span></label>
|
|
|
</td>
|
|
</td>
|
|
|
- <td style = "text-align: left;">
|
|
|
|
|
|
|
+ <td style="text-align: left;">
|
|
|
<input class="form-control" id="id"
|
|
<input class="form-control" id="id"
|
|
|
th:field="*{id}" type="text" readonly>
|
|
th:field="*{id}" type="text" readonly>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
- <td style = "text-align: right;">
|
|
|
|
|
|
|
+ <td style="text-align: right;">
|
|
|
<label for="certificateNumber">Certificate Number </label>
|
|
<label for="certificateNumber">Certificate Number </label>
|
|
|
</td>
|
|
</td>
|
|
|
- <td style = "text-align: left;">
|
|
|
|
|
|
|
+ <td style="text-align: left;">
|
|
|
<input class="form-control" id="certificateNumber"
|
|
<input class="form-control" id="certificateNumber"
|
|
|
- th:field="*{certificateNumber}" type="text" readonly>
|
|
|
|
|
|
|
+ th:field="*{certificateNumber}" type="text">
|
|
|
|
|
+ <div th:if="${#fields.hasErrors('certificateNumber')}">
|
|
|
|
|
+ <ul class="text-danger">
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('certificateNumber')}" th:text="${err}"/>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
- <td style = "text-align: right;">
|
|
|
|
|
|
|
+ <td style="text-align: right;">
|
|
|
<label for="certificateIssuedAt">Issued From </label>
|
|
<label for="certificateIssuedAt">Issued From </label>
|
|
|
</td>
|
|
</td>
|
|
|
- <td style = "text-align: left;">
|
|
|
|
|
|
|
+ <td style="text-align: left;">
|
|
|
<div>
|
|
<div>
|
|
|
<select id="certificateIssuedAt" name="place" th:field="*{certificateIssuedAt}">
|
|
<select id="certificateIssuedAt" name="place" th:field="*{certificateIssuedAt}">
|
|
|
<option th:value="${''}" th:text="${''}"></option>
|
|
<option th:value="${''}" th:text="${''}"></option>
|
|
@@ -67,19 +74,24 @@
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
- <td style = "text-align: right;">
|
|
|
|
|
|
|
+ <td style="text-align: right;">
|
|
|
<label for="certificateDate">Issued At (dd/mm/yyyy) </label>
|
|
<label for="certificateDate">Issued At (dd/mm/yyyy) </label>
|
|
|
</td>
|
|
</td>
|
|
|
- <td style = "text-align: left;">
|
|
|
|
|
|
|
+ <td style="text-align: left;">
|
|
|
<input class="form-control" id="certificateDate"
|
|
<input class="form-control" id="certificateDate"
|
|
|
th:field="*{certificateDate}" type="text">
|
|
th:field="*{certificateDate}" type="text">
|
|
|
|
|
+ <div th:if="${#fields.hasErrors('certificateDate')}">
|
|
|
|
|
+ <ul class="text-danger">
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('certificateDate')}" th:text="${err}"/>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
- <td style = "text-align: right;">
|
|
|
|
|
|
|
+ <td style="text-align: right;">
|
|
|
<label for="newBorn">NewBorn</label>
|
|
<label for="newBorn">NewBorn</label>
|
|
|
</td>
|
|
</td>
|
|
|
- <td style = "text-align: left;">
|
|
|
|
|
|
|
+ <td style="text-align: left;">
|
|
|
<select id="newBorn" name="place" th:field="*{newBorn}">
|
|
<select id="newBorn" name="place" th:field="*{newBorn}">
|
|
|
<option th:value="${''}" th:text="${''}"></option>
|
|
<option th:value="${''}" th:text="${''}"></option>
|
|
|
<option th:each="person : ${people}"
|
|
<option th:each="person : ${people}"
|