Reposting since previous post did not show.... grrrr.

The toolbar only shows from localhost.

On Jun 8, 10:24 am, Ross Peoples <[email protected]> wrote:
> I just got hit by this change. I think the original reason why it never
> showed the toolbar for a single returned item was to make web2py easier to
> use. I'll give a use case:
>
> You want to create a simple form, so in a controller you do the following:
>
> form = SQLFORM(db.table)
> return dict(form=form)
>
> Before, your form would just show up. Since the change in the trunk, you now
> need to create a view for this:
>
> {{extend 'layout.html'}}
> {{=form}}
>
> Otherwise, you'll get a view with the toolbar and the variable name, 'form'
> to the left of the actual form.
>
> If you have several of these simple pages, you now have to clutter your
> application with view files, all the with same two lines repeated.

Reply via email to