summaryrefslogtreecommitdiff
path: root/UI/am-edit-template.html
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-25 00:36:53 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-25 00:36:53 +0000
commitb76b9b5f62567fc10377ef2be47972f79f1a2147 (patch)
tree8d0b58478e8b2a00d2ce2526e4d7cc49c8b35f5e /UI/am-edit-template.html
parente7e1dafee2629dcbd57e7ac3d50ad84bce03e694 (diff)
Convert old template editor to templates
Remove now-unused form_footer bin/am.pl now has all functions using templates or form functions for output git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1819 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/am-edit-template.html')
-rw-r--r--UI/am-edit-template.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/UI/am-edit-template.html b/UI/am-edit-template.html
new file mode 100644
index 00000000..8d596098
--- /dev/null
+++ b/UI/am-edit-template.html
@@ -0,0 +1,22 @@
+<?lsmb INCLUDE 'ui-header.html' ?>
+<?lsmb PROCESS elements.html ?>
+<body>
+<form method="post" action="<?lsmb form.script ?>">
+ <?lsmb PROCESS textarea element_data={
+ name => 'body',
+ rows => 25,
+ cols => 70,
+ text => form.body,
+ } ?>
+<br />
+<?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>
+