[Catalyst] Need some DBIC syntax help

Andy Grundman andy at hybridized.org
Sat Dec 31 02:08:27 CET 2005


Dennis Daupert wrote:
> [% IF Users.size %]  
>   [% FOREACH user IN Users %]     
>     <h4>[% user %]</h4>  
>   [% END %]
> [% END %]

You're almost there, you just need to display some field(s) from the user object:

<h4>[% user.username %]</h4>

-Andy



More information about the Catalyst mailing list