diff --git a/bookwyrm/templates/groups/delete_group_modal.html b/bookwyrm/templates/groups/delete_group_modal.html index 4bb87ed9..15eea60f 100644 --- a/bookwyrm/templates/groups/delete_group_modal.html +++ b/bookwyrm/templates/groups/delete_group_modal.html @@ -1,4 +1,4 @@ -{% extends 'components/modal.html' %} +{% extends 'components/new_modal.html' %} {% load i18n %} {% block modal-title %}{% trans "Delete this group?" %}{% endblock %} @@ -14,8 +14,7 @@ - {% trans "Cancel" as button_text %} - {% include 'snippets/toggle/toggle_button.html' with text=button_text controls_text="delete_group" controls_uid=group.id %} + {% endblock %} diff --git a/bookwyrm/templates/groups/edit_form.html b/bookwyrm/templates/groups/edit_form.html index 1c58dc77..a83ad9fb 100644 --- a/bookwyrm/templates/groups/edit_form.html +++ b/bookwyrm/templates/groups/edit_form.html @@ -9,5 +9,5 @@
-{% include "groups/delete_group_modal.html" with controls_text="delete_group" controls_uid=group.id %} +{% include "groups/delete_group_modal.html" with id="delete_group" %} {% endblock %} diff --git a/bookwyrm/templates/groups/form.html b/bookwyrm/templates/groups/form.html index 21c525ee..2b3dd635 100644 --- a/bookwyrm/templates/groups/form.html +++ b/bookwyrm/templates/groups/form.html @@ -14,21 +14,20 @@ -