2022-11-27 03:13:27 +00:00
|
|
|
<#import "template.ftl" as layout>
|
2024-01-11 21:02:25 +00:00
|
|
|
<#import "password-commons.ftl" as passwordCommons>
|
2022-11-27 03:13:27 +00:00
|
|
|
<@layout.registrationLayout displayMessage=!messagesPerField.existsError('email'); section>
|
|
|
|
<#if section = "header">
|
|
|
|
${msg("updateEmailTitle")}
|
|
|
|
<#elseif section = "form">
|
|
|
|
<form id="kc-update-email-form" class="${properties.kcFormClass!}" action="${url.loginAction}" method="post">
|
|
|
|
<div class="${properties.kcFormGroupClass!}">
|
|
|
|
<div class="${properties.kcLabelWrapperClass!}">
|
|
|
|
<label for="email" class="${properties.kcLabelClass!}">${msg("email")}</label>
|
|
|
|
</div>
|
|
|
|
<div class="${properties.kcInputWrapperClass!}">
|
|
|
|
<input type="text" id="email" name="email" value="${(email.value!'')}"
|
|
|
|
class="${properties.kcInputClass!}"
|
|
|
|
aria-invalid="<#if messagesPerField.existsError('email')>true</#if>"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<#if messagesPerField.existsError('email')>
|
|
|
|
<span id="input-error-email" class="${properties.kcInputErrorMessageClass!}" aria-live="polite">
|
|
|
|
${kcSanitize(messagesPerField.get('email'))?no_esc}
|
|
|
|
</span>
|
|
|
|
</#if>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="${properties.kcFormGroupClass!}">
|
|
|
|
<div id="kc-form-options" class="${properties.kcFormOptionsClass!}">
|
|
|
|
<div class="${properties.kcFormOptionsWrapperClass!}">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2024-01-11 21:02:25 +00:00
|
|
|
<@passwordCommons.logoutOtherSessions/>
|
|
|
|
|
2022-11-27 03:13:27 +00:00
|
|
|
<div id="kc-form-buttons" class="${properties.kcFormButtonsClass!}">
|
|
|
|
<#if isAppInitiatedAction??>
|
|
|
|
<input class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonLargeClass!}" type="submit" value="${msg("doSubmit")}" />
|
|
|
|
<button class="${properties.kcButtonClass!} ${properties.kcButtonDefaultClass!} ${properties.kcButtonLargeClass!}" type="submit" name="cancel-aia" value="true" />${msg("doCancel")}</button>
|
|
|
|
<#else>
|
|
|
|
<input class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonBlockClass!} ${properties.kcButtonLargeClass!}" type="submit" value="${msg("doSubmit")}" />
|
|
|
|
</#if>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</#if>
|
|
|
|
</@layout.registrationLayout>
|