I converted from old template to new so it's a little hard to compare
what's different
In the new menu.py, I have this
<!-- Masthead ===================================== -->
{{block header}}
{{end}}
In the old menu.py I had this
<!-- Masthead ===================================== -->
<header class="mastheader row" id="header">
<div class="span12">
<div class="page-header">
<h1>
{{=response.title or request.application}}
<small>{{=response.subtitle or ''}}</small>
</h1>
</div>
</div>
</header>
When I copied the old to the new like this below, I finally got a title and
subtitle but obviously there is a mismatch in versions as the text was
blockish and fuzzed out
<!-- Masthead ===================================== -->
{{block header}}
<header class="mastheader row" id="header">
<div class="span12">
<div class="page-header">
<h1>
{{=response.title or request.application}}
<small>{{=response.subtitle or ''}}</small>
</h1>
</div>
</div>
</header>
{{end}}
Any ideas on what might be missing? Did I accidentally comment out an
import line?
thanks,
Alex
--
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.