|
@@ -51,26 +51,27 @@
|
|
|
</ul>
|
|
</ul>
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
- </tr> <tr>
|
|
|
|
|
- <td style="text-align: right;">
|
|
|
|
|
- <label for="certificateSource">Certificate Source : </label>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td style="text-align: left;">
|
|
|
|
|
- <div>
|
|
|
|
|
- <select id="certificateSource" name="certificateSource" th:field="*{certificateSource}">
|
|
|
|
|
- <option th:value="${''}" th:text="${''}"></option>
|
|
|
|
|
- <!--/*@thymesVar id="organisations" type="scot.carricksoftware.grants.domains.places.Organisation"*/-->
|
|
|
|
|
- <option th:each="organisation : ${organisations}"
|
|
|
|
|
- th:value="${organisation.id}" th:text="${organisation.toString()}"></option>
|
|
|
|
|
- </select>
|
|
|
|
|
- <div th:if="${#fields.hasErrors('certificateSource')}">
|
|
|
|
|
- <ul class="text-danger">
|
|
|
|
|
- <li th:each="err : ${#fields.errors('certificateSource')}" th:text="${err}"/>
|
|
|
|
|
- </ul>
|
|
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td style="text-align: right;">
|
|
|
|
|
+ <label for="certificateSource">Certificate Source : </label>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td style="text-align: left;">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <select id="certificateSource" name="certificateSource" th:field="*{certificateSource}">
|
|
|
|
|
+ <option th:value="${''}" th:text="${''}"></option>
|
|
|
|
|
+ <!--/*@thymesVar id="organisations" type="scot.carricksoftware.grants.domains.places.Organisation"*/-->
|
|
|
|
|
+ <option th:each="organisation : ${organisations}"
|
|
|
|
|
+ th:value="${organisation.id}" th:text="${organisation.toString()}"></option>
|
|
|
|
|
+ </select>
|
|
|
|
|
+ <div th:if="${#fields.hasErrors('certificateSource')}">
|
|
|
|
|
+ <ul class="text-danger">
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('certificateSource')}" th:text="${err}"/>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
<tr>FF0000FF
|
|
<tr>FF0000FF
|
|
|
<td style="text-align: right;">
|
|
<td style="text-align: right;">
|
|
|
<label for="certificateDate">Certificate Date (dd/mm/yyyy) : </label>
|
|
<label for="certificateDate">Certificate Date (dd/mm/yyyy) : </label>
|
|
@@ -331,7 +332,8 @@
|
|
|
th:field="*{untrackedUsualResidence}" type="text">
|
|
th:field="*{untrackedUsualResidence}" type="text">
|
|
|
<div th:if="${#fields.hasErrors('untrackedUsualResidence')}">
|
|
<div th:if="${#fields.hasErrors('untrackedUsualResidence')}">
|
|
|
<ul class="text-danger">
|
|
<ul class="text-danger">
|
|
|
- <li th:each="err : ${#fields.errors('uFF0000FFntrackedUsualResidence')}" th:text="${err}"/>
|
|
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('uFF0000FFntrackedUsualResidence')}"
|
|
|
|
|
+ th:text="${err}"/>
|
|
|
</ul>
|
|
</ul>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -342,7 +344,7 @@
|
|
|
</td>
|
|
</td>
|
|
|
<td style="text-align: left;">
|
|
<td style="text-align: left;">
|
|
|
<div>
|
|
<div>
|
|
|
- <textarea class="causeOfDeath" id="causeOfDeath" rows="5" cols = "60"
|
|
|
|
|
|
|
+ <textarea class="causeOfDeath" id="causeOfDeath" rows="5" cols="60"
|
|
|
th:field="*{causeOfDeath}" type="text"></textarea>
|
|
th:field="*{causeOfDeath}" type="text"></textarea>
|
|
|
<div th:if="${#fields.hasErrors('causeOfDeath')}">
|
|
<div th:if="${#fields.hasErrors('causeOfDeath')}">
|
|
|
<ul class="text-danger">
|
|
<ul class="text-danger">
|
|
@@ -359,7 +361,7 @@
|
|
|
<td style="text-align: left;">
|
|
<td style="text-align: left;">
|
|
|
<div>
|
|
<div>
|
|
|
<input class="spouse" id="spouse"
|
|
<input class="spouse" id="spouse"
|
|
|
- th:field="*{spouse}" type="text">
|
|
|
|
|
|
|
+ th:field="*{spouse}" type="text">
|
|
|
<div th:if="${#fields.hasErrors('spouse')}">
|
|
<div th:if="${#fields.hasErrors('spouse')}">
|
|
|
<ul class="text-danger">
|
|
<ul class="text-danger">
|
|
|
<li th:each="err : ${#fields.errors('spouse')}" th:text="${err}"/>
|
|
<li th:each="err : ${#fields.errors('spouse')}" th:text="${err}"/>
|
|
@@ -400,30 +402,126 @@
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td style="text-align: right; background-color: #C39BD3;">
|
|
|
|
|
+ <label for="father">Father : </label>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td style="text-align: left;">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <input class="father" id="father"
|
|
|
|
|
+ th:field="*{father}" type="text">
|
|
|
|
|
+ <div th:if="${#fields.hasErrors('father')}">
|
|
|
|
|
+ <ul class="text-danger">
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('father')}" th:text="${err}"/>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td style="text-align: right; background-color: #C39BD3;">
|
|
|
|
|
+ <label for="untrackedFather">Father (untracked) : </label>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td style="text-align: left;">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <input class="untrackedFather" id="untrackedFather"
|
|
|
|
|
+ th:field="*{untrackedFather}" type="text">
|
|
|
|
|
+ <div th:if="${#fields.hasErrors('untrackedFather')}">
|
|
|
|
|
+ <ul class="text-danger">
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('untrackedFather')}" th:text="${err}"/>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td style="text-align: right; background-color: #C39BD3;">
|
|
|
|
|
+ <label for="fatherOccupation">Father Occupation : </label>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td style="text-align: left;">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <input class="fatherOccupation" id="fatherOccupation"
|
|
|
|
|
+ th:field="*{fatherOccupation}" type="text">
|
|
|
|
|
+ <div th:if="${#fields.hasErrors('fatherOccupation')}">
|
|
|
|
|
+ <ul class="text-danger">
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('fatherOccupation')}" th:text="${err}"/>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td style="text-align: right; background-color: #C39BD3;">
|
|
|
|
|
+ <label for="mother">Mother : </label>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td style="text-align: left;">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <input class="mother" id="mother"
|
|
|
|
|
+ th:field="*{mother}" type="text">
|
|
|
|
|
+ <div th:if="${#fields.hasErrors('mother')}">
|
|
|
|
|
+ <ul class="text-danger">
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('mother')}" th:text="${err}"/>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td style="text-align: right; background-color: #C39BD3;">
|
|
|
|
|
+ <label for="untrackedMother">Mother (untracked) : </label>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td style="text-align: left;">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <input class="untrackedMother" id="untrackedMother"
|
|
|
|
|
+ th:field="*{untrackedMother}" type="text">
|
|
|
|
|
+ <div th:if="${#fields.hasErrors('untrackedMother')}">
|
|
|
|
|
+ <ul class="text-danger">
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('untrackedMother')}" th:text="${err}"/>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td style="text-align: right; background-color: #C39BD3;">
|
|
|
|
|
+ <label for="motherOccupation">Mother Occupation : </label>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td style="text-align: left;">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <input class="motherOccupation" id="motherOccupation"
|
|
|
|
|
+ th:field="*{motherOccupation}" type="text">
|
|
|
|
|
+ <div th:if="${#fields.hasErrors('motherOccupation')}">
|
|
|
|
|
+ <ul class="text-danger">
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('motherOccupation')}" th:text="${err}"/>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td style="text-align: right; background-color: #C39BD3;">
|
|
<td style="text-align: right; background-color: #C39BD3;">
|
|
|
- <label for="father">Father : </label>
|
|
|
|
|
|
|
+ <label for="informant">Informant : </label>
|
|
|
</td>
|
|
</td>
|
|
|
<td style="text-align: left;">
|
|
<td style="text-align: left;">
|
|
|
<div>
|
|
<div>
|
|
|
- <input class="father" id="father"
|
|
|
|
|
- th:field="*{father}" type="text">
|
|
|
|
|
- <div th:if="${#fields.hasErrors('father')}">
|
|
|
|
|
|
|
+ <input class="informant" id="informant"
|
|
|
|
|
+ th:field="*{informant}" type="text">
|
|
|
|
|
+ <div th:if="${#fields.hasErrors('informant')}">
|
|
|
<ul class="text-danger">
|
|
<ul class="text-danger">
|
|
|
- <li th:each="err : ${#fields.errors('father')}" th:text="${err}"/>
|
|
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('informant')}" th:text="${err}"/>
|
|
|
</ul>
|
|
</ul>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</table>
|
|
</table>
|
|
|
- <button type="submit" class="btn btn-primary">Commit</button>
|
|
|
|
|
- <a class="btn btn-secondary" th:href="@{/deathCertificates}" th:text="${'List all'}">List all</a>
|
|
|
|
|
- <a class="btn btn-success" th:href="@{/static}" th:text="${'Home'}">Home</a>
|
|
|
|
|
- <h6><span style="color: rgb(255,0,0);">*</span><span> Cannot be edited</span></h6>
|
|
|
|
|
|
|
+ <button type="submit" class="btn btn-primary">Commit</button>
|
|
|
|
|
+ <a class="btn btn-secondary" th:href="@{/deathCertificates}" th:text="${'List all'}">List all</a>
|
|
|
|
|
+ <a class="btn btn-success" th:href="@{/static}" th:text="${'Home'}">Home</a>
|
|
|
|
|
+ <h6><span style="color: rgb(255,0,0);">*</span><span> Cannot be edited</span></h6>
|
|
|
</form>
|
|
</form>
|
|
|
</div>
|
|
</div>
|
|
|
</body>
|
|
</body>
|
|
|
|
|
|
|
|
|
|
|
|
|
-</html>
|
|
|
|
|
|
|
+</html>
|