summaryrefslogtreecommitdiff
path: root/UI/am-display-template.html
diff options
context:
space:
mode:
Diffstat (limited to 'UI/am-display-template.html')
-rw-r--r--UI/am-display-template.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/UI/am-display-template.html b/UI/am-display-template.html
new file mode 100644
index 00000000..62a6a871
--- /dev/null
+++ b/UI/am-display-template.html
@@ -0,0 +1,20 @@
+<?lsmb INCLUDE 'ui-header.html' ?>
+<?lsmb PROCESS elements.html ?>
+<body>
+<?lsmb IF !form.file.match('\.html$'); #Pre-enclose non-HTML templates ?>
+<pre><?lsmb form.body ?></pre><?lsmb
+ELSE;
+ form.body;
+END ?>
+<form method="post" action="<?lsmb form.script ?>">
+<?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>
+