diff --git a/apps/common/templates/generic_detail.html b/apps/common/templates/generic_detail.html index c27cf1a6c0..cfe69c7c35 100755 --- a/apps/common/templates/generic_detail.html +++ b/apps/common/templates/generic_detail.html @@ -81,6 +81,7 @@ {% with subtemplate.hide_object as hide_object %} {% with subtemplate.main_object as main_object %} {% with subtemplate.hide_link as hide_link %} + {% with subtemplate.hide_header as hide_header %}
{% include subtemplate.name %} @@ -95,6 +96,7 @@ {% endwith %} {% endwith %} {% endwith %} + {% endwith %} {% endfor %}
{% endblock %} diff --git a/apps/common/templates/generic_form.html b/apps/common/templates/generic_form.html index 0f079bcf5b..80ee537e71 100755 --- a/apps/common/templates/generic_form.html +++ b/apps/common/templates/generic_form.html @@ -49,6 +49,7 @@ {% with subtemplate.hide_object as hide_object %} {% with subtemplate.main_object as main_object %} {% with subtemplate.hide_link as hide_link %} + {% with subtemplate.hide_header as hide_header %} {% include subtemplate.name %} {% endwith %} {% endwith %} @@ -56,6 +57,7 @@ {% endwith %} {% endwith %} {% endwith %} + {% endwith %} {% endfor %} {% endblock %} diff --git a/apps/common/templates/generic_list.html b/apps/common/templates/generic_list.html index d10c4b71e3..fe71bfc4b6 100755 --- a/apps/common/templates/generic_list.html +++ b/apps/common/templates/generic_list.html @@ -13,6 +13,7 @@ {% with subtemplate.hide_object as hide_object %} {% with subtemplate.main_object as main_object %} {% with subtemplate.hide_link as hide_link %} + {% with subtemplate.hide_header as hide_header %} {% include subtemplate.name %} {% endwith %} {% endwith %} @@ -20,6 +21,7 @@ {% endwith %} {% endwith %} {% endwith %} + {% endwith %} {% endfor %} {% endblock %} diff --git a/apps/dynamic_search/views.py b/apps/dynamic_search/views.py index 33d42e121f..6b14681c38 100755 --- a/apps/dynamic_search/views.py +++ b/apps/dynamic_search/views.py @@ -76,6 +76,7 @@ def search(request): 'form':form, 'object_list':object_list, 'form_title':_(u'Search'), + 'hide_header':True, 'title':_(u'results with: %s') % query_string }