Fix div duplication
This commit is contained in:
parent
2e371d2078
commit
6edf9c3d15
@ -224,19 +224,17 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
|
|||||||
{auth !== undefined && auth.showTryAnotherWayLink && (
|
{auth !== undefined && auth.showTryAnotherWayLink && (
|
||||||
<form id="kc-select-try-another-way-form" action={url.loginAction} method="post">
|
<form id="kc-select-try-another-way-form" action={url.loginAction} method="post">
|
||||||
<div className={kcClsx("kcFormGroupClass")}>
|
<div className={kcClsx("kcFormGroupClass")}>
|
||||||
<div className={kcClsx("kcFormGroupClass")}>
|
<input type="hidden" name="tryAnotherWay" value="on" />
|
||||||
<input type="hidden" name="tryAnotherWay" value="on" />
|
<a
|
||||||
<a
|
href="#"
|
||||||
href="#"
|
id="try-another-way"
|
||||||
id="try-another-way"
|
onClick={() => {
|
||||||
onClick={() => {
|
document.forms["kc-select-try-another-way-form" as never].submit();
|
||||||
document.forms["kc-select-try-another-way-form" as never].submit();
|
return false;
|
||||||
return false;
|
}}
|
||||||
}}
|
>
|
||||||
>
|
{msg("doTryAnotherWay")}
|
||||||
{msg("doTryAnotherWay")}
|
</a>
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user