editSuccess.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php $katao_product_category = $form->getObject() ?>
  2. <div class="content-add01">
  3. <div class="heading01"><h1><?php echo $katao_product_category->isNew() ? 'Ajout' : 'Modification' ?> d'un rayon</h1></div>
  4. </div>
  5. <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" ' ?>>
  6. <table>
  7. <tfoot>
  8. <tr>
  9. <td colspan="2">
  10. <br /><input type="submit" value="Sauver" /> ou <a href="<?php echo url_for('kataoProductCategory/index') ?>">annuler</a>
  11. </td>
  12. </tr>
  13. </tfoot>
  14. <tbody>
  15. <?php echo $form->renderGlobalErrors() ?>
  16. <tr valign="top">
  17. <th align="left"><?php echo $form['name']->renderLabel() ?></th>
  18. <td>
  19. <?php echo $form['name'] ?>
  20. <?php echo $form['name']->renderError() ?>
  21. </td>
  22. </tr>
  23. <tr valign="top">
  24. <th align="left"><?php echo $form['accounting_code_suffix']->renderLabel() ?></th>
  25. <td>
  26. <?php echo $form['accounting_code_suffix'] ?>
  27. <?php echo $form['accounting_code_suffix']->renderError() ?>
  28. </td>
  29. </tr>
  30. <tr valign="top">
  31. <th align="left"><?php echo $form['sort_order']->renderLabel() ?></th>
  32. <td>
  33. <?php echo $form['sort_order'] ?>
  34. <?php echo $form['sort_order']->renderError() ?>
  35. <?php echo $form['id'] ?>
  36. </td>
  37. </tr>
  38. </tbody>
  39. </table>
  40. </form>