Reverting unrelated changes to templates

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
This commit is contained in:
Pedro Igor 2024-03-01 16:02:25 -03:00
parent 0894642838
commit 2c750c8ffb
2 changed files with 2 additions and 4 deletions

View file

@ -67,7 +67,7 @@ public class RegisterPage extends AbstractPage {
@FindBy(id = "termsAccepted") @FindBy(id = "termsAccepted")
private WebElement termsAcceptedInput; private WebElement termsAcceptedInput;
@FindBy(css = "button[type=\"submit\"]") @FindBy(css = "input[type=\"submit\"]")
private WebElement submitButton; private WebElement submitButton;
@FindBy(className = "alert-error") @FindBy(className = "alert-error")

View file

@ -98,9 +98,7 @@
</div> </div>
<#else> <#else>
<div id="kc-form-buttons" class="${properties.kcFormButtonsClass!}"> <div id="kc-form-buttons" class="${properties.kcFormButtonsClass!}">
<button class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonBlockClass!} ${properties.kcButtonLargeClass!}" type="submit"> <input class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonBlockClass!} ${properties.kcButtonLargeClass!}" type="submit" value="${msg("doRegister")}"/>
${msg("doRegister")}
</button>
</div> </div>
</#if> </#if>
</div> </div>