瀏覽代碼

person date of birth in person form

Andrew Grant 7 月之前
父節點
當前提交
95222be38e
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      src/main/resources/templates/person/form.html

+ 12 - 0
src/main/resources/templates/person/form.html

@@ -54,6 +54,18 @@ rounded-3 text-center p-4">
                        th:field="*{id}" type="text" readonly>
             </div>
         </div>
+        <div class="form-group row justify-content-center">
+            <div class="col-xs-3 " style="margin-right:20px;">
+                <label for="certifiedYearOfBirth">Certified Year of Birth<span style="color: rgb(255,0,0);">*</span></label>
+                <input class="form-control" id="certifiedYearOfBirth"
+                       th:field="*{certifiedYearOfBirth}" type="text" readonly>
+            </div>
+                <div class="col-xs-3 " style="margin-right:20px;">
+                    <label for="recordedYearOfBirth">Recorded Year of Birth<span style="color: rgb(255,0,0);">*</span></label>
+                    <input class="form-control" id="recordedYearOfBirth"
+                           th:field="*{recordedYearOfBirth}" type="text" readonly>
+                </div>
+        </div>
         <button type="submit" class="btn btn-primary">Commit</button>
         <a class="btn btn-secondary" th:href="@{/people}" th:text="${'List all'}">List all</a>
         <a class="btn btn-success" th:href="@{/}" th:text="${'Home'}">Home</a>