<table width="100%"><tr> [% FOREACH priv = [ "upload", "inspect", "download", "admin" ] %] [% field = "priv_$priv" %] <td align="center">[% priv %] = "[%- line.$field -%]" </td> [% END %] </tr></table>
And now I can simplify it to this .. Thanks!
--t. alexIn reply to Re (4): Template Toolkit and booleans
by talexb
in thread Template Toolkit and booleans
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |