Skip to content
Snippets Groups Projects
Commit 2d5c9d5ad16b authored by Rémi Cardona's avatar Rémi Cardona
Browse files

[basetemplate] Components should still be inside the content column (closes #4002583)

Fixes a regression introduced by commit 530993d25fe5.
parent 4041122decbd
No related branches found
No related tags found
No related merge requests found
...@@ -130,5 +130,7 @@ ...@@ -130,5 +130,7 @@
@monkeypatch(basetemplates.TheMainTemplate) @monkeypatch(basetemplates.TheMainTemplate)
def content_column(self, view, content_cols): def content_column(self, view, content_cols):
w = self.w w = self.w
w(u'<div id="main-center" class="col-md-%(col)s" role="main">' % {
'col': content_cols})
components = self._cw.vreg['components'] components = self._cw.vreg['components']
self.content_components(view, components) self.content_components(view, components)
...@@ -133,7 +135,5 @@ ...@@ -133,7 +135,5 @@
components = self._cw.vreg['components'] components = self._cw.vreg['components']
self.content_components(view, components) self.content_components(view, components)
w(u'<div id="main-center" class="col-md-%(col)s" role="main">' % {
'col': content_cols})
w(u'<div id="pageContent">') w(u'<div id="pageContent">')
self.content_header(view) self.content_header(view)
vtitle = self._cw.form.get('vtitle') vtitle = self._cw.form.get('vtitle')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment