17 lines
789 B
Plaintext
17 lines
789 B
Plaintext
<#import "template.ftl" as layout>
|
|
<@layout.registrationLayout displayMessage=true; section>
|
|
<#if section = "header">${msg("phoneTitle")}
|
|
<#elseif section = "form">
|
|
<form id="kc-phone-form" action="${url.loginAction}" method="post">
|
|
<div class="form-group">
|
|
<label for="phone">${msg("phoneLabel")}</label>
|
|
<input id="phone" name="phone" type="tel" inputmode="tel" autocomplete="tel"
|
|
placeholder="+7 900 123-45-67" required autofocus
|
|
aria-invalid="<#if messagesPerField.existsError('phone')>true<#else>false</#if>"/>
|
|
</div>
|
|
<p class="han-help">${msg("phoneHelp")}</p>
|
|
<button class="pf-c-button pf-m-primary pf-m-block" type="submit">${msg("sendOtp")}</button>
|
|
</form>
|
|
</#if>
|
|
</@layout.registrationLayout>
|