What happens if you remove linked_tables=['comment'] ?
As in using just:
grid = SQLFORM.smartgrid(db.image)
Terça-feira, 23 de Outubro de 2012 18:32:32 UTC+1, David Simmons escreveu:
>
> Hi
>
> I am following the image tutorial described in the online web2py book. I
> have the following code:
>
> @auth.requires_membership('manager')
> def manage():
> grid = SQLFORM.smartgrid(db.image, linked_tables=['comment'])
> return locals()
>
> I have the following view:
>
> {{extend 'layout.html'}}
> <h2>Management Interface</h2>
> {{=grid}}
>
> BUT
>
> I don't see any links to the child buttons.
>
> I am on version 2.1.1.
>
> Any help would be much appreciate.
>
> many thanks
>
> Dave
>
>
>
--