Skip to content
Snippets Groups Projects
Commit 1c3434c6afd7 authored by Katia Saurfelt's avatar Katia Saurfelt
Browse files

[css] save the column number on pageContent

parent b3f11a9075c6
No related branches found
No related tags found
No related merge requests found
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,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="pageContent" class="col-md-%(col)s" role="main">' % { w(u'<div id="pageContent" class="col-md-%(col)s" role="main" data-col="%(col)s">' % {
'col': content_cols}) 'col': content_cols})
components = self._cw.vreg['components'] components = self._cw.vreg['components']
self.content_components(view, components) self.content_components(view, components)
......
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