Skip to content

Commit

Permalink
feat(templates): add form tags for email
Browse files Browse the repository at this point in the history
  • Loading branch information
paulocoutinhox authored May 16, 2024
1 parent b1786ed commit 7e8c262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions allauth/templates/account/email.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{% trans 'The following email addresses are associated with your account:' %}
{% endelement %}
{% url 'account_email' as email_url %}
{% element form form=form action=email_url method="post" %}
{% element form form=form action=email_url method="post" tags="email,list" %}
{% slot body %}
{% csrf_token %}
{% for radio in emailaddress_radios %}
Expand Down Expand Up @@ -59,7 +59,7 @@
{% trans "Add Email Address" %}
{% endelement %}
{% url 'account_email' as action_url %}
{% element form form=form method="post" action=action_url %}
{% element form form=form method="post" action=action_url tags="email,add" %}
{% slot body %}
{% csrf_token %}
{% element fields form=form %}
Expand Down

0 comments on commit 7e8c262

Please sign in to comment.