<?php $settings = sfConfig::get('app_admin_' . $this->getModuleName()) ?>
<div class="content-add01">
	<div class="heading01"><h1><?php echo ucfirst($settings['singular']) ?> : [?php echo $<?php echo $this->getSingularName() ?>-><?php echo $settings['confirm_method'] ?>() ?]</h1></div>
</div>

<table>
  <tbody>
<?php foreach ($this->getTableMap()->getColumns() as $column): ?>
    <tr valign="top">
      <th><?php echo sfInflector::humanize(sfInflector::underscore($column->getPhpName())) ?>:</th>
      <td>[?= $<?php echo $this->getSingularName() ?>->get<?php echo $column->getPhpName() ?>() ?]</td>
    </tr>
<?php endforeach; ?>
  </tbody>
</table>

<hr />

<a href="[?php echo url_for('<?php echo $this->getModuleName() ?>/edit?<?php echo $this->getPrimaryKeyUrlParams() ?>) ?]">Edit</a>
&nbsp;
<a href="[?php echo url_for('<?php echo $this->getModuleName() ?>/index') ?]">List</a>