Location: PHPKode > projects > GnomePHP > peec-GnomePHP-b5a360b/gnomephp/res/view/crud/create.php
<?php $view->extend('crud/header', 'content', array('entity' => $entity))?>
<form action="<?php echo $view->url->linkTo('crud_create', array('name' => $entity))?>" method="post">
<table>
	
	<?php foreach($fields as $fieldName => $field): ?>
	<tr>
		<th><?php echo $worker->translateField($fieldName)?></th>
		<td><?php $view->import('crud/form_field', array('fieldName' => $fieldName, 'fieldInfo' => $field, 'value' => ''))?></td>
	</tr>
	<?php endforeach; ?>
	
	<tr>
	<th>Save</th>
	<td><input type="submit" value="Save" /></td>
	</tr>
</table>

</form>
Return current item: GnomePHP