Explorar el Código

PersonalOccupation added to census form

Andrew Grant hace 7 meses
padre
commit
5a26f2e182
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      src/main/resources/templates/censusentry/form.html

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

@@ -167,6 +167,13 @@ rounded-3 text-center p-4">
                 </div>
             </div>
         </div>
+        <div class="form-group row justify-content-center">
+            <div class="col-md-2">
+                <label for="personalOccupation">Personal Occupation</label>
+                <input class="form-control" id="personalOccupation"
+                       th:field="*{personalOccupation}" type="text">
+            </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>