Skip to content

Commit

Permalink
feat: added button type to social providers
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiantela committed Sep 4, 2023
1 parent ecf6192 commit f07de47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/ilhasoft/login/login-form.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<#if realm.password?? && social.providers??>
<#list social.providers as p>
<a id="zocial-${p.alias}" class="social-link" href="${p.loginUrl}">
<button class="social-button button-control" id="button-${p.alias}">
<button type="button" class="social-button button-control" id="button-${p.alias}">
<img src="${url.resourcesPath}/img/login/icon-${p.alias}.svg" class="icon-image icon-button-left" >
<span>${msg("loginWith")} ${p.displayName} </span>
</button>
Expand Down
2 changes: 1 addition & 1 deletion themes/ilhasoft/login/register.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
<#if realm.password?? && social.providers??>
<#list social.providers as p>
<a id="zocial-${p.alias}" class="social-link" href="${p.loginUrl}">
<button class="social-button button-control" id="button-${p.alias}">
<button type="button" class="social-button button-control" id="button-${p.alias}">
<img src="${url.resourcesPath}/img/login/icon-${p.alias}.svg" class="icon-image icon-button-left" >
<span>${msg("loginWith")} ${p.displayName} </span>
</button>
Expand Down

0 comments on commit f07de47

Please sign in to comment.