apv wrote: > This does not: > > [% vote = Catalyst.user.votes({word => w.id}) IF Catalyst.user_exists > %] [% IF vote %] > You rated this “[% vote.rating %]” > [% END %] > > and yields for all cases (and columns): You rated this ""
Try [% SET vote = Catalyst.user.votes({word => w.id}) IF Catalyst.user_exists %] (http://search.cpan.org/~abw/Template-Toolkit-2.19/lib/Template/Manual/Syntax.pod#Capturing_Block_Output) -- Bernhard Graf _______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/