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 %}