PageRenderTime 9ms CodeModel.GetById 4ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/framework/core/db/templates/dbzone/view.tpl

http://zoop.googlecode.com/
Smarty Template | 16 lines | 16 code | 0 blank | 0 comment | 0 complexity | 85b509cdb6374788893ae5851095afec MD5 | raw file
 1<form method="post" name="main_form" action="{$virtualUrl}">	
 2<table>
 3	{foreach from=$object key=fieldName item=fieldValue}
 4	<tr>
 5		<td>{$fieldName}:</td>
 6		{if $object->getFieldOptions($fieldName)}
 7			{assign var=relationship value=$object->getFieldOptions($fieldName)}
 8			<td>{$relationship->getInfo()}</td>
 9		{else}
10			<td>{$fieldValue}</td>
11		{/if}
12	</tr>
13	{/foreach}
14</table>
15<input type="button" name="done" value="done" onclick="document.location = '{$zoneUrl}/list'">
16</form>