Location: PHPKode > projects > simpleMVC > myGifts/skins/default/editGift.tpl
{mvc_form handler="saveGift" method="action" id=$object->id}
<table border="0">
<tr><td align="right">{$strings.LANG_GIFT} : </td><td><input type="text" size="32" maxlength="255" name="name" value="{$object->name}" /></td></tr>
<tr valign="top"><td align="right">{$strings.LANG_GIFT_COMMENT} : </td><td><textarea rows="5" cols="32" name="comment" />{$object->comment}</textarea></td></tr>
<tr><td align="right">{$strings.LANG_GIFT_URL} : </td><td><input type="text" size="32" maxlength="255" name="url" value="{$object->url}" /></td></tr>
<tr><td colspan="2" align="center"><input type="checkbox" name="restricted" {if $object->restricted == 1}checked="checked"{/if} />{$strings.LANG_GIFT_RESTRICTED}</td></tr>
<!--{if $object->id ne ""}
<tr><td colspan="2" align="center"><input type="checkbox" name="offered" {if $object->offered == 1}checked="checked"{/if} />{$strings.LANG_GIFT_OFFERED}</td></tr>
<tr><td align="right">{$strings.LANG_GIFT_OFFERED_ON} : </td><td><input type="text" size="32" maxlength="63" name="offeredOn" value="{$object->offeredOn}" /></td></tr>
{/if}-->
<tr><td colspan="2" align="center">
{if $object->id eq ""}
<input type="submit" value="{$strings.LANG_ADD}" />
{else}
<input type="submit" value="{$strings.LANG_SAVE}" />
{/if}
</td></tr>
</table>
{/mvc_form}
Return current item: simpleMVC