<h1>Flash list:</h1>
<flexy:component name="pager" class="pager" source="flash.FlashList" param="page" order="id DESC">

<TABLE border=0>
<TR>
    <TD class=caption width=1% align=center>#</TD>
    <TD class=caption>Title</TD>
    <TD class=caption>Category</TD>
    <TD class=caption width=1%>&nbsp;</TD>
</TR>
{if:pager.data}
    <form action="admin.php" method=POST>
    <input type=hidden name=action value=delete>
    <flexy:component name="ff" class="fill_hidden" exclude="page">

    {foreach:pager.data,n}
    <TR>
        <TD><input type=checkbox name="ids[{n[id]}]" flexy:ignore></TD>
        <TD>{n[title]}</TD>
        <TD nowrap>{n[category]}</TD>
        <TD><a href="admin.php?target=flash&page={page}&mode=edit&id={n[id]}">Edit</a></TD>
    </TR>
    {end:}

    <TR>
        <TD colspan=5 class=caption>
        <input type=submit value=" Delete selected ">
        </TD>
    </TR>

    </form>
{else:}
    <TR>
        <TD colspan=5>Empty list</TD>
{end:}
</TABLE>

