Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Change category list in modal/confirm_delete.html

michal276e53680230
diff --git a/templates/dashboard/category/modal/confirm_delete.html b/templates/dashboard/category/modal/confirm_delete.html
index 45932aa854..c8d217aae0 100644
--- a/templates/dashboard/category/modal/confirm_delete.html
+++ b/templates/dashboard/category/modal/confirm_delete.html
@@ -22,14 +22,10 @@ Are you sure you want to remove category <strong>{{ category }}</strong>?
{% trans "The following child categories will be removed:" context "Delete category form text about descendant categories" %}
<ul>
{% recursetree descendants %}
- <li>
- {{ node.name }}
+ {{ node.name }},
{% if not node.is_leaf_node %}
- <ul class="children">
- {{ children }}
- </ul>
+ {{ children }}
{% endif %}
- </li>
{% endrecursetree %}
</ul>
</p>