From 285c1d10cf0b3f174740722ff5f8dce65c232a2f Mon Sep 17 00:00:00 2001 From: george Date: Tue, 25 Jan 2022 18:36:13 +0000 Subject: [PATCH] Move Delete All button to below the list of current API Keys. --- templates/dashboard/api_key.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/templates/dashboard/api_key.html b/templates/dashboard/api_key.html index a1d50850..cc9601e6 100644 --- a/templates/dashboard/api_key.html +++ b/templates/dashboard/api_key.html @@ -22,16 +22,6 @@ ️API Keys should be kept secret and treated like passwords, they can be used to gain access to your account. - {% if api_keys|length > 0 %} -
- - - Delete All     - -
-
- {% endif %} -
{% for api_key in api_keys %}
@@ -85,6 +75,16 @@ {% endfor %}
+ {% if api_keys|length > 0 %} +
+ + + Delete All     + +
+
+ {% endif %} +
{{ new_api_key_form.csrf_token }}