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

<form action="<?php echo url_for('kataoOrder/update'.(!$katao_order->isNew() ? '?id='.$katao_order->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('kataoOrder/index') ?>">annuler</a>
        </td>
      </tr>
    </tfoot>
    <tbody>
      <?php echo $form->renderGlobalErrors() ?>
      <tr valign="top">
        <th align="left"><?php echo $form['katao_supplier_id']->renderLabel() ?></th>
        <td>
          <?php echo $form['katao_supplier_id'] ?>
		  <?php echo $form['katao_supplier_id']->renderError() ?>
        </td>
      </tr>
      <tr valign="top">
        <th align="left"><?php echo $form['status']->renderLabel() ?></th>
        <td>
          <?php echo $form['status'] ?>
		  <?php echo $form['status']->renderError() ?>

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