{{ title|capfirst }}
+{{ title }}
-{{ title|capfirst }}
+{{ content }}
+{{ content|safe }}
{% endif %} {% for paragraph in paragraphs %} -{{ paragraph }}
+{{ paragraph|safe }}
{% endfor %}diff --git a/apps/common/templates/generic_list.html b/apps/common/templates/generic_list.html index 71aba418b1..1000e8f420 100644 --- a/apps/common/templates/generic_list.html +++ b/apps/common/templates/generic_list.html @@ -29,9 +29,15 @@ {% with subtemplate.object_name as object_name %} {% with subtemplate.form_action as form_action %} {% with subtemplate.form as form %} + + {% with subtemplate.content as content %} + {% with subtemplate.paragraphs as paragraphs %} {% include subtemplate.name %} + {% endwith %} + {% endwith %} + {% endwith %} {% endwith %} {% endwith %} diff --git a/apps/common/templates/generic_subtemplate.html b/apps/common/templates/generic_subtemplate.html index 0372611fc3..4a6257639d 100644 --- a/apps/common/templates/generic_subtemplate.html +++ b/apps/common/templates/generic_subtemplate.html @@ -1,19 +1,19 @@ {% if side_bar %}
{{ content }}
+{{ content|safe }}
{% endif %} {% for paragraph in paragraphs %} -{{ paragraph }}
+{{ paragraph|safe }}
{% endfor %}