summaryrefslogtreecommitdiff
path: root/UI
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-24 21:36:16 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-24 21:36:16 +0000
commitabbbc08b1380943d37cac42c3cfd17aa43d92e1e (patch)
treec528935626332ac459bc0c5841d64b135442d04b /UI
parent9f3d4beeceaedb93d87e0cef30d0811462ff4c97 (diff)
Convert language forms to templates
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1813 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI')
-rw-r--r--UI/am-language-form.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/UI/am-language-form.html b/UI/am-language-form.html
new file mode 100644
index 00000000..93f6b799
--- /dev/null
+++ b/UI/am-language-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('Code') ?></th>
+ <td><?lsmb PROCESS input element_data={name => 'code', size => 10, value => form.code} ?></td>
+ </tr>
+ <tr>
+ <th align="right"><?lsmb text('Description') ?></th>
+ <td><?lsmb PROCESS input element_data={name => 'description', size => 60, value => form.description} ?></td>
+ </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>