Skip to content

Commit

Permalink
PR feedback: add type="submit" to button
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Jun 25, 2024
1 parent 031a207 commit 82e1d70
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions modules/material/themes/material/expirychecker/expired.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,31 @@
{% include 'header.twig' %}
</head>
<body>
<div class="mdl-layout mdl-layout--fixed-header fill-viewport">
<header class="mdl-layout__header mdl-color--red">
<div class="mdl-layout__header-row">
<div class="mdl-layout mdl-layout--fixed-header fill-viewport">
<header class="mdl-layout__header mdl-color--red">
<div class="mdl-layout__header-row">
<span class="mdl-layout-title">
{{ '{expired:header}'|trans }}
</span>
</div>
</header>
<main class="mdl-layout__content" layout-children="column">
<form layout-children="column">
{% for name, value in formData %}
<input type="hidden" name="{{ name|e }}" value="{{ value|e }}">
{% endfor %}
</div>
</header>
<main class="mdl-layout__content" layout-children="column">
<form layout-children="column">
{% for name, value in formData %}
<input type="hidden" name="{{ name|e }}" value="{{ value|e }}">
{% endfor %}

<p class="mdl-typography--title margin">
{{ '{expired:expired}'|trans }}
</p>
<p class="mdl-typography--title margin">
{{ '{expired:expired}'|trans }}
</p>

<button name="changepwd" class="mdl-button mdl-button--raised mdl-button--primary">
{{ '{expired:button_change}'|trans }}
</button>
</form>
</main>
<button name="changepwd" type="submit" class="mdl-button mdl-button--raised mdl-button--primary">
{{ '{expired:button_change}'|trans }}
</button>
</form>
</main>

{% include 'footer.twig' %}
</div>
{% include 'footer.twig' %}
</div>
</body>
</html>

0 comments on commit 82e1d70

Please sign in to comment.