From a304333acfa4bf8ba61fb009925fea3dd3d18c85 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 20 Sep 2021 14:25:11 -0700 Subject: [PATCH] Don't show delete button in create list form --- bookwyrm/templates/lists/form.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bookwyrm/templates/lists/form.html b/bookwyrm/templates/lists/form.html index 4252d709..9a000d3f 100644 --- a/bookwyrm/templates/lists/form.html +++ b/bookwyrm/templates/lists/form.html @@ -45,8 +45,10 @@ + {% 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 %}