summaryrefslogtreecommitdiff
path: root/UI/am-warehouse-form.html
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-24 22:21:31 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-24 22:21:31 +0000
commite2b0202cff81f02ce9a7e6a1cddf463704ebacf1 (patch)
tree6b80ca09a622d2335d6ee88e38b969755043c963 /UI/am-warehouse-form.html
parentabbbc08b1380943d37cac42c3cfd17aa43d92e1e (diff)
Converting forms that use warehouse_header to templates
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1814 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/am-warehouse-form.html')
-rw-r--r--UI/am-warehouse-form.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/UI/am-warehouse-form.html b/UI/am-warehouse-form.html
new file mode 100644
index 00000000..1ed6975f
--- /dev/null
+++ b/UI/am-warehouse-form.html
@@ -0,0 +1,33 @@
+<?lsmb INCLUDE 'ui-header.html' ?>
+<?lsmb PROCESS elements.html ?>
+<body>
+<form method="post" action="<?lsmb form.script ?>">
+<table width="100%">
+ <tr><th class="listtop"><?lsmb form.title ?></th></tr>
+ <tr><td> </td></tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th align="right"><?lsmb text('Description') ?></th>
+<?lsmb IF row_count > 1 ?>
+ <td><?lsmb PROCESS textarea element_data={name => 'description', cols => 60, rows => rows, text => form.description} ?></td>
+<?lsmb ELSE ?>
+ <td><?lsmb PROCESS input element_data={name => 'description', size => 60, value => form.description} ?></td>
+<?lsmb END ?>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr><td colspan="2"><hr size="3" noshade="noshade" /></td></tr>
+</table>
+<?lsmb FOREACH hidden IN hiddens.keys;
+ PROCESS input element_data={
+ type => 'hidden',
+ name => hidden,
+ value => hiddens.item(hidden)
+ }; END ?>
+<?lsmb FOREACH button IN buttons; PROCESS button element_data=button; END ?>
+</form>
+</body>
+</html>