<form enctype="multipart/form-data" action="{zoner}" method="POST">
<input type=hidden name=action value="update">
<input type=hidden name="id" value="{widget.id}">
<flexy:component name="ff" class="fill_hidden" exclude="mode">

<TABLE border=0 width=100%>
<TR>
    <TD colspan=2 class=caption>Edit widget #{widget.id}:</TD>
</TR>
<TR>
    <TD>Title:</TD>
    <TD><input size=60 type="text" name="title"></TD>
</TR>
<TR>
    <TD>Source:</TD>
    <TD><textarea cols=80 rows=8 name="source"></textarea></TD>
</TR>
<TR>
    <TD>Preview:</TD>
    <TD><div style="width: 100%; text-align: center; border: 1px solid #999999;">{widget.source:h}</div></TD>
</TR>
<TR>
    <TD>Icon:</td>
    <input type="hidden" name="MAX_FILE_SIZE" value="100000">
    <TD>
        <img src="{iconsDir}/{widget.icon}" width=16px height=16px>&nbsp;
        <input type="file" name="icon">
    </TD>
</TR>
<TR>
    <TD>&nbsp;</TD>
    <TD><br><input type=submit value=" Update "></TD>
</TR>
</TABLE>
</form>