On 27 April 2012 15:50, Kenneth S Mclane <[email protected]> wrote:
> This was a test to make sure I was actually getting data. My intention is
> to return all rows in pager format. I haven't made it to that part yet.
> Here is my template code:
>
> <table width="100%" border="1">
> <tr><th>Department</th><th>Account Code</th><th>Account
> Name</th><th>Policy</th><th>Compliant</th><th>Servers</th><th>Subsystems</th><th>Complete</th><th>Status</th></tr>
> [% # Display each account in a table row %]
> [% FOREACH account IN accounts -%]
>
^^^^^^^
> <tr>
> <td>1[% accounts.department_id %]</td>
>
^^^^^^^^
You're simply referring to the list instead of the item here.
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/