diff --git a/src/main/resources/theme-resources/templates/email-code-form.ftl b/src/main/resources/theme-resources/templates/email-code-form.ftl index 154f91f..849dc35 100644 --- a/src/main/resources/theme-resources/templates/email-code-form.ftl +++ b/src/main/resources/theme-resources/templates/email-code-form.ftl @@ -1,27 +1,43 @@ <#import "template.ftl" as layout> -<@layout.registrationLayout displayInfo=true; section> - <#if section = "title"> - Access Code Form - <#elseif section = "header"> - Access Code Form - <#elseif section = "form"> -

Enter access code

-
+<@layout.registrationLayout displayMessage=!messagesPerField.existsError('emailCode'); section> + <#if section="header"> + ${msg("doLogIn")} + <#elseif section="form"> + +
- - -
+
+ +
+ +
+ - + <#if messagesPerField.existsError('emailCode')> + + ${kcSanitize(messagesPerField.get('emailCode'))?no_esc} + + +
+ - +
+
+
+
+
- +
+
+ + + +
+
+
- \ No newline at end of file +