summaryrefslogtreecommitdiff
path: root/UI/am-warehouse-form.html
blob: 1ed6975fd4425f15849be3ea629deb2e139a2d03 (plain)
  1. <?lsmb INCLUDE 'ui-header.html' ?>
  2. <?lsmb PROCESS elements.html ?>
  3. <body>
  4. <form method="post" action="<?lsmb form.script ?>">
  5. <table width="100%">
  6. <tr><th class="listtop"><?lsmb form.title ?></th></tr>
  7. <tr><td> </td></tr>
  8. <tr>
  9. <td>
  10. <table>
  11. <tr>
  12. <th align="right"><?lsmb text('Description') ?></th>
  13. <?lsmb IF row_count > 1 ?>
  14. <td><?lsmb PROCESS textarea element_data={name => 'description', cols => 60, rows => rows, text => form.description} ?></td>
  15. <?lsmb ELSE ?>
  16. <td><?lsmb PROCESS input element_data={name => 'description', size => 60, value => form.description} ?></td>
  17. <?lsmb END ?>
  18. </tr>
  19. </table>
  20. </td>
  21. </tr>
  22. <tr><td colspan="2"><hr size="3" noshade="noshade" /></td></tr>
  23. </table>
  24. <?lsmb FOREACH hidden IN hiddens.keys;
  25. PROCESS input element_data={
  26. type => 'hidden',
  27. name => hidden,
  28. value => hiddens.item(hidden)
  29. }; END ?>
  30. <?lsmb FOREACH button IN buttons; PROCESS button element_data=button; END ?>
  31. </form>
  32. </body>
  33. </html>