Browse Source

CensusEntryRelationship form

Andrew Grant 5 tháng trước cách đây
mục cha
commit
3d243f4265
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 10 0
      src/main/resources/templates/censusentry/form.html

+ 10 - 0
src/main/resources/templates/censusentry/form.html

@@ -89,6 +89,16 @@ rounded-3 text-center p-4">
                     </select>
                 </div>
             </div>
+            <div class="col-md-3">
+                <label for="condition">Condition</label>
+                <div>
+                    <select id="condition" style="width: 200px;" name="condition" th:field="*{condition}">
+                        <option th:value="${''}" th:text="${''}"></option>
+                        <option th:each="value : ${T(scot.carricksoftware.grants.enums.censusentry.CensusEntryCondition).values()}"
+                                th:value="${value}" th:text="${value}"></option>
+                    </select>
+                </div>
+            </div>
         </div>
         <button type="submit" class="btn btn-primary">Commit</button>
         <a class="btn btn-secondary" th:href="@{/censusEntries}" th:text="${'List all'}">List all</a>