<?php
// auto-generated by sfPropelCrud
// date: 2007/06/12 16:50:00
?>
<?php use_helper('Object') ?>

<?php echo form_tag('cat/update') ?>

<?php echo object_input_hidden_tag($tblcategory, 'getCgId') ?>

<table>
<tbody>
<tr>
  <th>Cg name*:</th>
  <td><?php echo object_input_tag($tblcategory, 'getCgName', array (
  'size' => 30,
)) ?></td>
</tr>
<tr>
  <th>Cg parentid:</th>
  <td><?php echo object_input_tag($tblcategory, 'getCgParentid', array (
  'size' => 7,
)) ?></td>
</tr>
<tr>
  <th>Cg child:</th>
  <td><?php echo object_input_tag($tblcategory, 'getCgChild', array (
  'size' => 80,
)) ?></td>
</tr>
<tr>
  <th>Cg family:</th>
  <td><?php echo object_input_tag($tblcategory, 'getCgFamily', array (
  'size' => 80,
)) ?></td>
</tr>
<tr>
  <th>Cg desc:</th>
  <td><?php echo object_input_tag($tblcategory, 'getCgDesc', array (
  'size' => 80,
)) ?></td>
</tr>
<tr>
  <th>Cg visited*:</th>
  <td><?php echo object_input_tag($tblcategory, 'getCgVisited', array (
  'size' => 7,
)) ?></td>
</tr>
<tr>
  <th>Cg image:</th>
  <td><?php echo object_input_tag($tblcategory, 'getCgImage', array (
  'size' => 80,
)) ?></td>
</tr>
</tbody>
</table>
<hr />
<?php echo submit_tag('save') ?>
<?php if ($tblcategory->getCgId()): ?>
  &nbsp;<?php echo link_to('delete', 'cat/delete?cg_id='.$tblcategory->getCgId(), 'post=true&confirm=Are you sure?') ?>
  &nbsp;<?php echo link_to('cancel', 'cat/show?cg_id='.$tblcategory->getCgId()) ?>
<?php else: ?>
  &nbsp;<?php echo link_to('cancel', 'cat/list') ?>
<?php endif; ?>
</form>
