diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-24 20:47:25 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-24 20:47:25 +0000 |
commit | 9f3d4beeceaedb93d87e0cef30d0811462ff4c97 (patch) | |
tree | 91c473e185a23ac38c3d8ff6b255ad0c369b54d6 /UI/am-sic-form.html | |
parent | ebddc26487a0649cc0f8abd039188f887ace3e90 (diff) |
Convert SIC forms to templates
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1812 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/am-sic-form.html')
-rw-r--r-- | UI/am-sic-form.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/UI/am-sic-form.html b/UI/am-sic-form.html new file mode 100644 index 00000000..2a551c59 --- /dev/null +++ b/UI/am-sic-form.html @@ -0,0 +1,37 @@ +<?lsmb INCLUDE 'ui-header.html' ?> +<?lsmb PROCESS elements.html ?> +<body> +<form method="post" action="<?lsmb form.script ?>"> +<table width="100%"> + <tr><th class="listtop" colspan="2"><?lsmb form.title ?></th></tr> + <tr><td colspan="2"> </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> + <td> </td> + <th align="left"><?lsmb PROCESS input element_data={name => 'sictype', type => 'checkbox', value => 'H', label => text('Heading'), ${heading} => heading} ?></th> + </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> |