31 lines
1.7 KiB
Plaintext
31 lines
1.7 KiB
Plaintext
<#import "template.ftl" as layout>
|
|
<#import "password-commons.ftl" as passwordCommons>
|
|
<#import "user-profile-commons.ftl" as userProfileCommons>
|
|
<@layout.registrationLayout displayMessage=messagesPerField.exists('global') displayRequiredFields=true; section>
|
|
<#if section = "header">
|
|
${msg("updateEmailTitle")}
|
|
<#elseif section = "form">
|
|
<form id="kc-update-email-form" class="${properties.kcFormClass!}" action="${url.loginAction}" method="post">
|
|
<@userProfileCommons.userProfileFormFields/>
|
|
|
|
<div class="${properties.kcFormGroupClass!}">
|
|
<div id="kc-form-options" class="${properties.kcFormOptionsClass!}">
|
|
<div class="${properties.kcFormOptionsWrapperClass!}">
|
|
</div>
|
|
</div>
|
|
|
|
<@passwordCommons.logoutOtherSessions/>
|
|
|
|
<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>
|