|
@@ -56,18 +56,18 @@
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td style="text-align: right;">
|
|
<td style="text-align: right;">
|
|
|
- <label for="certificateIssuedAt">Issued From </label>
|
|
|
|
|
|
|
+ <label for="certificateSource">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="certificateSource" name="place" th:field="*{certificateSource}">
|
|
|
<option th:value="${''}" th:text="${''}"></option>
|
|
<option th:value="${''}" th:text="${''}"></option>
|
|
|
<option th:each="place : ${places}"
|
|
<option th:each="place : ${places}"
|
|
|
th:value="${place.id}" th:text="${place.toString()}"></option>
|
|
th:value="${place.id}" th:text="${place.toString()}"></option>
|
|
|
</select>
|
|
</select>
|
|
|
- <div th:if="${#fields.hasErrors('certificateIssuedAt')}">
|
|
|
|
|
|
|
+ <div th:if="${#fields.hasErrors('certificateSource')}">
|
|
|
<ul class="text-danger">
|
|
<ul class="text-danger">
|
|
|
- <li th:each="err : ${#fields.errors('certificateIssuedAt')}" th:text="${err}"/>
|
|
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('certificateSource')}" th:text="${err}"/>
|
|
|
</ul>
|
|
</ul>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -87,6 +87,21 @@
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td style="text-align: right;">
|
|
|
|
|
+ <label for="certificateType">Certificate Type </label>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td style="text-align: left;">
|
|
|
|
|
+ <input class="form-control" id="certificateType"
|
|
|
|
|
+ th:field="*{certificateType}" type="text">
|
|
|
|
|
+ <div th:if="${#fields.hasErrors('certificateType')}">
|
|
|
|
|
+ <ul class="text-danger">
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('certificateType')}" th:text="${err}"/>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+
|
|
|
<tr>
|
|
<tr>
|
|
|
<td style="text-align: right;">
|
|
<td style="text-align: right;">
|
|
|
<label for="newBorn">NewBorn</label>
|
|
<label for="newBorn">NewBorn</label>
|
|
@@ -109,7 +124,7 @@
|
|
|
|
|
|
|
|
<button type="submit" class="btn btn-primary">Commit</button>
|
|
<button type="submit" class="btn btn-primary">Commit</button>
|
|
|
<a class="btn btn-secondary" th:href="@{/birthCertificates}" th:text="${'List all'}">List all</a>
|
|
<a class="btn btn-secondary" th:href="@{/birthCertificates}" th:text="${'List all'}">List all</a>
|
|
|
- <a class="btn btn-success" th:href="@{/static}" th:text="${'Home'}">Home</a>
|
|
|
|
|
|
|
+ <a class="btn btn-success" th:href="@{/}" th:text="${'Home'}">Home</a>
|
|
|
<h6><span style="color: rgb(255,0,0);">*</span><span> Cannot be edited</span></h6>
|
|
<h6><span style="color: rgb(255,0,0);">*</span><span> Cannot be edited</span></h6>
|
|
|
</form>
|
|
</form>
|
|
|
</div>
|
|
</div>
|