hello i have this in my controller

 response.delimiters = ('{%', '%}')

and in my view

{% extend 'layout.html' %}


but this way all i get is this mess in my browser



{{ response.files.insert(0,URL('static','css/web2py.css'))
response.files.insert(1,URL('static','css/bootstrap.min.css'))
response.files.insert(2,URL('static','css/bootstrap-responsive.min.css'))
response.files.insert(3,URL('static','css/web2py_bootstrap.css')) }}
{{include 'web2py_ajax.html'}} {{ # using sidebars need to know what
sidebar you want to use left_sidebar_enabled =
globals().get('left_sidebar_enabled',False) right_sidebar_enabled =
globals().get('right_sidebar_enabled',False) middle_columns =
{0:'span12',1:'span9',2:'span6'}[ (left_sidebar_enabled and 1 or
0)+(right_sidebar_enabled and 1 or 0)] }} {{block head}}{{end}}
{{=response.flash or ''}}
{{is_mobile=request.user_agent().is_mobile}}  {{=response.logo or ''}}

   {{='auth' in globals() and auth.navbar(mode="dropdown") or ''}}

{{if response.menu:}} {{=MENU(response.menu, _class='mobile-menu nav' if
is_mobile else
'nav',mobile=is_mobile,li_class='dropdown',ul_class='dropdown-menu')}}
{{pass}}
{{if response.title:}}
{{=response.title}} {{=response.subtitle or ''}}
{{pass}}{{if left_sidebar_enabled:}}
{{block left_sidebar}}Left Sidebar

{{end}}
{{pass}}
{{block center}} {{include}} {{end}}
{{if right_sidebar_enabled:}}
{{block right_sidebar}}Right Sidebar

{{end}}
{{pass}}
{{block footer}}
{{=T('Copyright')}} © {{=request.now.year}}
{{=T('Powered by')}} web2py <http://www.web2py.com/>
{{end}}
{{if response.google_analytics_id:}} {{pass}}

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to