diff --git a/konova/templates/konova/widgets/checkbox-tree-select-content.html b/konova/templates/konova/widgets/checkbox-tree-select-content.html
new file mode 100644
index 00000000..9bf57253
--- /dev/null
+++ b/konova/templates/konova/widgets/checkbox-tree-select-content.html
@@ -0,0 +1,21 @@
+{% load l10n fontawesome_5 %}
+
+{% for code in codes %}
+
+
+ {% if not code.is_leaf %}
+
+ {% with code.children as codes %}
+ {% include 'konova/widgets/checkbox-tree-select-content.html' %}
+ {% endwith %}
+
+ {% endif %}
+
+{% endfor %}
\ No newline at end of file
diff --git a/konova/templates/konova/widgets/checkbox-tree-select.html b/konova/templates/konova/widgets/checkbox-tree-select.html
index 5b40d3f1..ddcc60c0 100644
--- a/konova/templates/konova/widgets/checkbox-tree-select.html
+++ b/konova/templates/konova/widgets/checkbox-tree-select.html
@@ -1,23 +1,42 @@
-{% load l10n fontawesome_5 %}
+
+ {% include 'konova/widgets/checkbox-tree-select-content.html' %}
+
-
- {% for code in codes %}
-
-
- {% if not code.is_leaf %}
-
- {% with code.children as codes %}
- {% include 'konova/widgets/checkbox-tree-select.html' %}
- {% endwith %}
-
- {% endif %}
-
- {% endfor %}
-
\ No newline at end of file
+
\ No newline at end of file