diff --git a/templates/blocks/dynamic/b_sections_buttons.html b/templates/blocks/dynamic/b_sections_buttons.html index b0797a4..6314f8a 100644 --- a/templates/blocks/dynamic/b_sections_buttons.html +++ b/templates/blocks/dynamic/b_sections_buttons.html @@ -1 +1,10 @@ -{% load static %} \ No newline at end of file +{% load static %} +
+
+ {% for section in sections %} + +
{{ section.name }}
+
+ {% endfor %} +
+
\ No newline at end of file diff --git a/templates/pages/content/c_projectiing_section.html b/templates/pages/content/c_projectiing_section.html index 2563793..b6dc343 100644 --- a/templates/pages/content/c_projectiing_section.html +++ b/templates/pages/content/c_projectiing_section.html @@ -1,9 +1 @@ -
-
- {% for section in sections %} - -
{{ section.name }}
-
- {% endfor %} -
-
\ No newline at end of file +{% include 'blocks/dynamic/b_sections_buttons.html' %}