Fix main template to avoid some class vanishing when pageContent element is replaced
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 28 Feb 2017 17:03:53 +0100
changeset 188 409f9cbc02c5
parent 187 480948c69272
child 190 b471354d2886
Fix main template to avoid some class vanishing when pageContent element is replaced when e.g. some facets are selected.
cubicweb_sherpa/views/templates/maintemplate.jinja2.html
--- a/cubicweb_sherpa/views/templates/maintemplate.jinja2.html	Tue Feb 28 17:02:55 2017 +0100
+++ b/cubicweb_sherpa/views/templates/maintemplate.jinja2.html	Tue Feb 28 17:03:53 2017 +0100
@@ -45,10 +45,12 @@
       {{ box_html|safe}}
       {% endfor %}
     </aside>
-    <div class="col-md-10 page-content" id="pageContent">
+    <div class="col-md-10 page-content">
+      <div id="pageContent">
       {{ application_message|safe }}
       {{ contextual_components|safe }}
       {{ page_content|safe }}
+      </div>
     </div>
   </div>
   <div class="container-fluid">