Location: PHPKode > projects > Adroit > 1.2.1/adroit/templates/view/edit.tpl
<div class="edit-back-link">
	<a href="{$WEB_ROOT}{controller-route}/"><img src="{$WEB_ROOT}images/arrow_rotate_clockwise.png" align="absmiddle"/>back to {object-collection}</a>
</div>
{if ${object-single}->id != '' }
	<h1>Edit {model}: '{${object-single}->name}'</h1>
{else}
	<h1>Create {model}</h1>
{/if}
<form action="{$WEB_ROOT}{controller-route}/save/" method="POST" >
<input type="hidden" name="{object-single}" value="{${object-single}->id}" />
{foreach from=${object-single}Properties item=property }
	{if $property != 'id' && $property != 'created'}
		<label>{$property}:</label> 
		<input type="text" name="{$property}" id="{$property}" value="{${object-single}->$property}" class="textbox" /><br />
	{/if}
{/foreach}
<div class="form-buttons">
	<input type="submit" name="submit" id="submit" value="Save" accesskey="s" />
	<a href="{$WEB_ROOT}{controller-route}/">Cancel</a>
</div>
</form>
Return current item: Adroit