diff options
author | Christian Kollmann <christian.kollmann@a-sit.at> | 2021-12-02 09:06:55 +0100 |
---|---|---|
committer | Christian Kollmann <christian.kollmann@a-sit.at> | 2021-12-02 16:13:48 +0100 |
commit | e5934d538aabcfc1f3b92472753de729d6ce1cce (patch) | |
tree | e806c33042b2762b67265515de2d6f1f09152fad /basicConfig/templates | |
parent | 401cd39689d73f1cc865bb3c7cfca40a3f5ac625 (diff) | |
download | National_eIDAS_Gateway-e5934d538aabcfc1f3b92472753de729d6ce1cce.tar.gz National_eIDAS_Gateway-e5934d538aabcfc1f3b92472753de729d6ce1cce.tar.bz2 National_eIDAS_Gateway-e5934d538aabcfc1f3b92472753de729d6ce1cce.zip |
Search with user provided input in ZMR for addresses
Diffstat (limited to 'basicConfig/templates')
-rw-r--r-- | basicConfig/templates/residency.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/basicConfig/templates/residency.html b/basicConfig/templates/residency.html index 96fa13f8..3c3c05d7 100644 --- a/basicConfig/templates/residency.html +++ b/basicConfig/templates/residency.html @@ -20,7 +20,8 @@ url: "http://localhost:8080/ms_connector/residency/search", data: $("#inputForm").serialize() }).done(function (data, textStatus, jqXHR) { - $("#inputCity").val(data["city"]); + $("#inputMunicipality").val(data["municipality"]); + $("#inputVillage").val(data["village"]); $("#inputStreet").val(data["street"]); $("#inputNumber").val(data["number"]); $("#textInfo").text(updatedText); @@ -43,11 +44,15 @@ <div> <p><span id="textInfo">Infotext</span></p> </div> - <form id="inputForm" class="block" method="post" action="$contextPath$submitEndpoint" + <form id="inputForm" method="post" action="$contextPath$submitEndpoint" th:attr="action=@{${submitEndpoint}}"> <div> - <label for="inputCity">City</label> - <input type="text" id="inputCity" name="city" value="City"/> + <label for="inputMunicipality">Municipality</label> + <input type="text" id="inputMunicipality" name="municipality" value="Municipality"/> + </div> + <div> + <label for="inputVillage">Village</label> + <input type="text" id="inputVillage" name="village" value="Village"/> </div> <div> <label for="inputStreet">Street</label> |