<?php $katao_product_category = $form->getObject() ?>
<div class="content-add01">
	<div class="heading01"><h1><?php echo $katao_product_category->isNew() ? 'Ajout' : 'Modification' ?> d'un rayon</h1></div>
</div>

<form action="<?php echo url_for('kataoProductCategory/update'.(!$katao_product_category->isNew() ? '?id='.$katao_product_category->getId() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
  <table>
    <tfoot>
      <tr>
        <td colspan="2">
          <br /><input type="submit" value="Sauver" /> ou <a href="<?php echo url_for('kataoProductCategory/index') ?>">annuler</a>
        </td>
      </tr>
    </tfoot>
    <tbody>
      <?php echo $form->renderGlobalErrors() ?>
      <tr valign="top">
        <th align="left"><?php echo $form['name']->renderLabel() ?></th>
        <td>
          <?php echo $form['name'] ?>
		  <?php echo $form['name']->renderError() ?>
        </td>
      </tr>
      <tr valign="top">
        <th align="left"><?php echo $form['accounting_code_suffix']->renderLabel() ?></th>
        <td>
          <?php echo $form['accounting_code_suffix'] ?>
		  <?php echo $form['accounting_code_suffix']->renderError() ?>
        </td>
      </tr>
      <tr valign="top">
        <th align="left"><?php echo $form['sort_order']->renderLabel() ?></th>
        <td>
          <?php echo $form['sort_order'] ?>
		  <?php echo $form['sort_order']->renderError() ?>

        <?php echo $form['id'] ?>
        </td>
      </tr>
    </tbody>
  </table>
</form>