summaryrefslogtreecommitdiff
path: root/UI/am-sic-form.html
blob: 2a551c59b4310dc0618dd5886196fa4bde1a1d9a (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" colspan="2"><?lsmb form.title ?></th></tr>
  7. <tr><td colspan="2"> </td></tr>
  8. <tr>
  9. <td>
  10. <table>
  11. <tr>
  12. <th align="right"><?lsmb text('Code') ?></th>
  13. <td><?lsmb PROCESS input element_data={name => 'code', size => 10, value => form.code} ?></td>
  14. </tr>
  15. <tr>
  16. <td> </td>
  17. <th align="left"><?lsmb PROCESS input element_data={name => 'sictype', type => 'checkbox', value => 'H', label => text('Heading'), ${heading} => heading} ?></th>
  18. </tr>
  19. <tr>
  20. <th align="right"><?lsmb text('Description') ?></th>
  21. <td><?lsmb PROCESS input element_data={name => 'description', size => 60, value => form.description} ?></td>
  22. </tr>
  23. </table>
  24. </td>
  25. </tr>
  26. <tr><td colspan="2"><hr size="3" noshade="noshade" /></td></tr>
  27. </table>
  28. <?lsmb FOREACH hidden IN hiddens.keys;
  29. PROCESS input element_data={
  30. type => 'hidden',
  31. name => hidden,
  32. value => hiddens.item(hidden)
  33. }; END ?>
  34. <?lsmb FOREACH button IN buttons; PROCESS button element_data=button; END ?>
  35. </form>
  36. </body>
  37. </html>