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

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