From c081708142391c887637f43c59ed66edfc60831c Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 16 Nov 2017 10:52:27 -0500 Subject: [PATCH] remove instituions completely at start and only adds it when needed; with correct label and warnings --- keycloak/themes/hmda/login/register.ftl | 5 +---- .../themes/hmda/login/resources/js/register.js | 16 ++++++++-------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/keycloak/themes/hmda/login/register.ftl b/keycloak/themes/hmda/login/register.ftl index aaa9b53..90fb0bc 100644 --- a/keycloak/themes/hmda/login/register.ftl +++ b/keycloak/themes/hmda/login/register.ftl @@ -27,10 +27,7 @@ The provided email address will be used to notify you of any HMDA related technology updates. - -
- ${msg("hmdaEnterEmailAddress", (properties.supportEmailTo!''))} -
+
diff --git a/keycloak/themes/hmda/login/resources/js/register.js b/keycloak/themes/hmda/login/resources/js/register.js index 4b9c2cd..f5d8f97 100644 --- a/keycloak/themes/hmda/login/resources/js/register.js +++ b/keycloak/themes/hmda/login/resources/js/register.js @@ -11,7 +11,11 @@ //Given a list of institutions, return an html list of description lists for each function createInstitutions(institutions) { - var html = '