From fc83b9cc9f9c44fff1c54837db160588e3af6814 Mon Sep 17 00:00:00 2001 From: avdata99 Date: Thu, 22 Jun 2023 14:35:36 -0300 Subject: [PATCH] Fix delete URL for custom organizations --- .../scheming/templates/scheming/organization/group_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/scheming/templates/scheming/organization/group_form.html b/ckanext/scheming/templates/scheming/organization/group_form.html index ffdcefcf..d73246ce 100644 --- a/ckanext/scheming/templates/scheming/organization/group_form.html +++ b/ckanext/scheming/templates/scheming/organization/group_form.html @@ -27,7 +27,7 @@ {% if action == 'edit' %} {% if h.check_access('group_delete', {'id': data.id}) and action=='edit' %} {% set locale = h.dump_json({'content': _('Are you sure you want to delete this Organization?')}) %} - {% block delete_button_text %}{{ _('Delete') }}{% endblock %} + {% block delete_button_text %}{{ _('Delete') }}{% endblock %} {% endif %} {% endif %} {% endblock %}