From 7e8c2622da71b49996309c7d0b9f79a0cbc74621 Mon Sep 17 00:00:00 2001 From: Paulo Coutinho Date: Thu, 16 May 2024 04:11:47 -0300 Subject: [PATCH] feat(templates): add form tags for email --- allauth/templates/account/email.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/allauth/templates/account/email.html b/allauth/templates/account/email.html index d51cedfafb..5c3205af20 100644 --- a/allauth/templates/account/email.html +++ b/allauth/templates/account/email.html @@ -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 %} @@ -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 %}