|
@@ -278,11 +278,17 @@
|
|
|
<label for="brideCondition">Bride Condition : </label>
|
|
<label for="brideCondition">Bride Condition : </label>
|
|
|
</td>
|
|
</td>
|
|
|
<td style="text-align: left;">
|
|
<td style="text-align: left;">
|
|
|
- <select id="brideCondition" style="width: 200px;" name="brideCondition" th:field="*{brideCondition}">
|
|
|
|
|
|
|
+ <select id="brideCondition" style="width: 200px;" name="brideCondition"
|
|
|
|
|
+ th:field="*{brideCondition}">
|
|
|
<option th:value="${''}" th:text="${''}"></option>
|
|
<option th:value="${''}" th:text="${''}"></option>
|
|
|
<option th:each="value : ${T(scot.carricksoftware.grants.enums.censusentry.CensusEntryCondition).values()}"
|
|
<option th:each="value : ${T(scot.carricksoftware.grants.enums.censusentry.CensusEntryCondition).values()}"
|
|
|
th:value="${value}" th:text="${value.label}"></option>
|
|
th:value="${value}" th:text="${value.label}"></option>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
+ <div th:if="${#fields.hasErrors('brideCondition')}">
|
|
|
|
|
+ <ul class="text-danger">
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('brideCondition')}" th:text="${err}"/>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
@@ -422,11 +428,17 @@
|
|
|
<label for="groomCondition">Groom Condition : </label>
|
|
<label for="groomCondition">Groom Condition : </label>
|
|
|
</td>
|
|
</td>
|
|
|
<td style="text-align: left;">
|
|
<td style="text-align: left;">
|
|
|
- <select id="groomCondition" style="width: 200px;" name="groomCondition" th:field="*{groomCondition}">
|
|
|
|
|
|
|
+ <select id="groomCondition" style="width: 200px;" name="groomCondition"
|
|
|
|
|
+ th:field="*{groomCondition}">
|
|
|
<option th:value="${''}" th:text="${''}"></option>
|
|
<option th:value="${''}" th:text="${''}"></option>
|
|
|
<option th:each="value : ${T(scot.carricksoftware.grants.enums.censusentry.CensusEntryCondition).values()}"
|
|
<option th:each="value : ${T(scot.carricksoftware.grants.enums.censusentry.CensusEntryCondition).values()}"
|
|
|
th:value="${value}" th:text="${value.label}"></option>
|
|
th:value="${value}" th:text="${value.label}"></option>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
+ <div th:if="${#fields.hasErrors('groomCondition')}">
|
|
|
|
|
+ <ul class="text-danger">
|
|
|
|
|
+ <li th:each="err : ${#fields.errors('groomCondition')}" th:text="${err}"/>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|