<h1>HTML Widgets:</h1>
<flexy:component name="htmlwidgets_pager" class="pager" source="htmlwidget.HWList" param="page">

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

    {foreach:htmlwidgets_pager.data,n}
    <TR>
        <TD><input type=checkbox name="ids[{n[id]}]" flexy:ignore></TD>
        <TD align=center>{if:!eq(n[icon],##)}<img src="{iconsDir}{n[icon]}" border=0>{end:} </TD>
        <TD>{n[title]}</TD>
        <TD><a href="admin.php?target=htmlwidgets&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=3>Empty list</TD>
    </tr>
{end:}
</TABLE>

