diff options
Diffstat (limited to 'basicConfig')
-rw-r--r-- | basicConfig/templates/other_login_method.html | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/basicConfig/templates/other_login_method.html b/basicConfig/templates/other_login_method.html index 120b0ecd..c5bc9668 100644 --- a/basicConfig/templates/other_login_method.html +++ b/basicConfig/templates/other_login_method.html @@ -124,13 +124,26 @@ <input type="hidden" name="loginSelection" value="EIDAS_LOGIN"> <input type="hidden" name="pendingid" value="$pendingid" th:attr="value=${pendingid}"/> </form> - <form method="post" action="$contextPath$submitEndpoint" th:attr="action=@{${submitEndpoint}}"> + + + + <form th:if="${enableMatchingByAddressSearch != null} and ${enableMatchingByAddressSearch}" + method="post" action="$contextPath$submitEndpoint" th:attr="action=@{${submitEndpoint}}"> <button class="primaryButton" type="submit" role="button" value="Keine weitere HS / eIDAS" th:text="#{gui.otherlogin.button.none}">C </button> <input type="hidden" name="loginSelection" value="NO_OTHER_LOGIN"> <input type="hidden" name="pendingid" value="$pendingid" th:attr="value=${pendingid}"/> </form> + <form th:unless="${enableMatchingByAddressSearch != null} and ${enableMatchingByAddressSearch}" + method="post" action="$contextPath$submitEndpoint" th:attr="action=@{${submitEndpoint}}"> + <button class="primaryButton" type="submit" role="button" value="Keine weitere HS / eIDAS" + th:text="#{gui.otherlogin.button.none}">C + </button> + <input type="hidden" name="loginSelection" value="REQUESTING_NEW_ENTRY"> + <input type="hidden" name="pendingid" value="$pendingid" th:attr="value=${pendingid}"/> + </form> + </div> <div id="stopMatching" class="block"> |