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

    {foreach:list,n}
    <TR>
        <TD>
            {n[title]}
        </TD>
        <TD><a href="admin.php?target={target}&lang={lang}&mode=edit&id={n[id]}">Edit</a>&nbsp;&nbsp;</TD>
        <TD><a href="admin.php?target={target}&lang={lang}&action=delete&id={n[id]}" onclick="return confirm('Delete page: {n[title]} ?');">Delete</a></TD>
    </TR>
    {end:}

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