Skip to content

Commit

Permalink
fix(templates): Remove stray h2 element
Browse files Browse the repository at this point in the history
  • Loading branch information
pennersr committed Sep 21, 2024
1 parent b3efd1b commit 7bc8156
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 2 additions & 4 deletions allauth/templates/account/confirm_login_code.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@
{% endelement %}
{% endslot %}
{% endelement %}
{% element h2 %}
{% element button type="submit" form="logout-from-stage" tags="link" %}
{% translate "Cancel" %}
{% endelement %}
{% element button type="submit" form="logout-from-stage" tags="link" %}
{% translate "Cancel" %}
{% endelement %}
<form id="logout-from-stage"
method="post"
Expand Down
8 changes: 3 additions & 5 deletions allauth/templates/account/request_login_code.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@
{% endelement %}
{% endslot %}
{% endelement %}
{% element h2 %}
{% url 'account_login' as login_url %}
{% element button href=login_url tags="link" %}
{% translate "Other sign-in options" %}
{% endelement %}
{% url 'account_login' as login_url %}
{% element button href=login_url tags="link" %}
{% translate "Other sign-in options" %}
{% endelement %}
{% endblock content %}

0 comments on commit 7bc8156

Please sign in to comment.