From 944503dde5f5ba252e48f247d60d26bebfa45633 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sun, 31 Jan 2021 12:36:53 -0800 Subject: [PATCH] Use close button instead of cancel button on edit form --- bookwyrm/templates/lists/form.html | 3 +-- bookwyrm/templates/lists/list_layout.html | 11 ++++++++--- bookwyrm/templates/lists/lists.html | 7 ++++++- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/bookwyrm/templates/lists/form.html b/bookwyrm/templates/lists/form.html index af0b8abf..ec265cc1 100644 --- a/bookwyrm/templates/lists/form.html +++ b/bookwyrm/templates/lists/form.html @@ -28,7 +28,7 @@ @@ -39,7 +39,6 @@
- {% include 'snippets/toggle/close_button.html' with controls_text='create-list' text="Cancel" %}
diff --git a/bookwyrm/templates/lists/list_layout.html b/bookwyrm/templates/lists/list_layout.html index 135655ee..5e8d2c12 100644 --- a/bookwyrm/templates/lists/list_layout.html +++ b/bookwyrm/templates/lists/list_layout.html @@ -10,13 +10,18 @@ {% if request.user == list.user %}
- {% include 'snippets/toggle/open_button.html' with text="Edit list" icon="pencil" controls_text="create-list" %} + {% include 'snippets/toggle/open_button.html' with text="Edit list" icon="pencil" controls_text="edit-list" %}
{% endif %} - diff --git a/bookwyrm/templates/lists/lists.html b/bookwyrm/templates/lists/lists.html index 1f230b78..97b15641 100644 --- a/bookwyrm/templates/lists/lists.html +++ b/bookwyrm/templates/lists/lists.html @@ -17,7 +17,12 @@