From ec0b1e8cc3174998fb063d476fbbc78e3a7e16fb Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 30 Dec 2021 12:38:36 -0800 Subject: [PATCH] Switches position of list delete and save buttons --- bookwyrm/templates/lists/form.html | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/bookwyrm/templates/lists/form.html b/bookwyrm/templates/lists/form.html index ae19e5db..7a6d2e6b 100644 --- a/bookwyrm/templates/lists/form.html +++ b/bookwyrm/templates/lists/form.html @@ -114,21 +114,19 @@ -
-
-
-
- {% include 'snippets/privacy_select.html' with current=list.privacy %} -
-
- -
-
-
+
{% if list.id %} -
+
{% trans "Delete list" as button_text %} {% include 'snippets/toggle/toggle_button.html' with class="is-danger" text=button_text icon_with_text="x" controls_text="delete_list" controls_uid=list.id focus="modal_title_delete_list" %}
{% endif %} +
+
+ {% include 'snippets/privacy_select.html' with current=list.privacy %} +
+
+ +
+