Skip to content

Commit

Permalink
add type="submit" to button elements
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Jun 28, 2024
1 parent e04a597 commit d79deef
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
</p>

<div class="fill-parent" layout-children="row" child-spacing="space-around">
<button name="continue" class="mdl-button mdl-button--raised">
<button name="continue" type="submit" class="mdl-button mdl-button--raised">
{{ '{about2expire:button_continue}'|trans }}
</button>

<button name="changepwd" class="mdl-button mdl-button--raised mdl-button--primary">
<button name="changepwd" type="submit" class="mdl-button mdl-button--raised mdl-button--primary">
{{ '{about2expire:button_change}'|trans }}
</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{{ '{expired:expired}'|trans }}
</p>

<button name="changepwd" class="mdl-button mdl-button--raised mdl-button--primary">
<button name="changepwd" type="submit" class="mdl-button mdl-button--raised mdl-button--primary">
{{ '{expired:button_change}'|trans }}
</button>
</form>
Expand Down
4 changes: 2 additions & 2 deletions modules/material/themes/material/mfa/out-of-backup-codes.twig
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@

<div class="mdl-card__actions" layout-children="row">
{% if hasOtherMfaOptions %}
<button name="continue" class="mdl-button">
<button name="continue" type="submit" class="mdl-button">
{{ '{mfa:button_later}'|trans }}
</button>
{% endif %}

<span flex></span>

<button name="getMore" class="mdl-button mdl-button--raised mdl-button--primary">
<button name="getMore" type="submit" class="mdl-button mdl-button--raised mdl-button--primary">
{{ '{mfa:button_get_more}'|trans }}
</button>
</div>
Expand Down
4 changes: 2 additions & 2 deletions modules/material/themes/material/mfa/send-manager-mfa.twig
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
{% endif %}}

<div class="mdl-card__actions" layout-children="row">
<button name="cancel" class="mdl-button mdl-button--primary">
<button name="cancel" type="submit" class="mdl-button mdl-button--primary">
{{ '{mfa:button_cancel}'|trans }}
</button>
<span flex></span>

<button name="send" class="mdl-button mdl-button--raised mdl-button--primary">
<button name="send" type="submit" class="mdl-button mdl-button--raised mdl-button--primary">
{{ '{mfa:button_send}'|trans }}
</button>
</div>
Expand Down

0 comments on commit d79deef

Please sign in to comment.