From 3dd798e8144f11ab0eda0cae97c632be7870eba1 Mon Sep 17 00:00:00 2001 From: Dani Hodovic Date: Wed, 4 Dec 2024 17:45:13 -0300 Subject: [PATCH] test: formatting of email.html --- allauth_ui/templates/account/email.html | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/allauth_ui/templates/account/email.html b/allauth_ui/templates/account/email.html index 188be90..36343fe 100644 --- a/allauth_ui/templates/account/email.html +++ b/allauth_ui/templates/account/email.html @@ -5,9 +5,7 @@ {% trans "Email Addresses" as heading %} {% #container heading=heading %} {% if emailaddresses %} -
- {% trans 'The following email addresses are associated with your account:' %} -
+
{% trans 'The following email addresses are associated with your account:' %}
{% url 'account_email' as action_url %} {% #form url=action_url use_default_button="false" %} {{ redirect_field }} @@ -37,15 +35,9 @@ {% endfor %}
- - - + + +
{% /form %} {% else %} @@ -56,8 +48,8 @@

{% trans "Add Email Address" %}

{% trans "Add Email" as button_text %} {% #form form=form url=action_url button_text=button_text use_default_button="false" %} - {% csrf_token %} - + {% csrf_token %} + {% /form %} {% endif %} {% /container %}