Re: [web2py] Re: Grid title

2013-09-24 Thread Warren Block
Okay, that makes sense. I do intend to make custom views, even more so now. For now, default/index.html is just: {{extend 'layout.html'}} {{=grid}} Thanks! On Tue, 24 Sep 2013, Anthony wrote: Oops, sorry -- the default/index.html view that comes with the scaffolding app includes {{=BE

Re: [web2py] Re: Grid title

2013-09-24 Thread Anthony
Oops, sorry -- the default/index.html view that comes with the scaffolding app includes {{=BEAUTIFY(response._vars)}} when there is no "message" or "content" variable returned, which is the same thing the generic.html view does when more than one variable is returned. Keep in mind that if you w

Re: [web2py] Re: Grid title

2013-09-24 Thread Warren Block
The default/index.html view exists (the default "simple app" one), so it's not clear to me why it is using generic.html. The index() function does not explicitly define any other variables, but the "grid:" is displayed even if the index() function returns dict(grid=grid). On Tue, 24 Sep 2013

[web2py] Re: Grid title

2013-09-24 Thread Anthony
It looks like you have not created a view for this function, so the generic.html view is being used instead. When you return multiple variables, the generic view displays the name of each variable. Since you are returning locals(), I assume you must have defined other variables in the index() f