summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--book.mdwn1
-rw-r--r--book/thanks.mdwn7
-rw-r--r--templates/form-receipt.mdwn8
-rw-r--r--templates/form.mdwn10
4 files changed, 26 insertions, 0 deletions
diff --git a/book.mdwn b/book.mdwn
new file mode 100644
index 0000000..5daa038
--- /dev/null
+++ b/book.mdwn
@@ -0,0 +1 @@
+[[!template id=form]]
diff --git a/book/thanks.mdwn b/book/thanks.mdwn
new file mode 100644
index 0000000..3edbcbe
--- /dev/null
+++ b/book/thanks.mdwn
@@ -0,0 +1,7 @@
+# Tilmelding til LetsGo - kvittering
+
+Tak for din booking-ansøgning ved stadsvandring.dk - du vil snarest blive kontaktet!
+
+Her er hvad vi har modtaget af ansökan fra dig:
+
+[[!template id=form-receipt]]
diff --git a/templates/form-receipt.mdwn b/templates/form-receipt.mdwn
new file mode 100644
index 0000000..9ecbe4a
--- /dev/null
+++ b/templates/form-receipt.mdwn
@@ -0,0 +1,8 @@
+<div class=form>
+<tmpl_loop fields>
+<div class="<tmpl_var label escape=html>">
+<span class="fb_label"><tmpl_var label></span>
+<tmpl_var field>
+</div>
+</tmpl_loop>
+</div>
diff --git a/templates/form.mdwn b/templates/form.mdwn
new file mode 100644
index 0000000..65f3d24
--- /dev/null
+++ b/templates/form.mdwn
@@ -0,0 +1,10 @@
+<div class=form>
+<tmpl_var form-start>
+<tmpl_loop fields>
+<div class="<tmpl_var label escape=html>">
+<span class="fb_label<tmpl_if required> fb_required</tmpl_if>"><tmpl_var label></span>
+<tmpl_var field><tmpl_if error> <span class="fb_invalid"><tmpl_var error></span></tmpl_if><tmpl_if comment> <tmpl_var comment></tmpl_if>
+</tmpl_loop>
+<tmpl_var form-submit>
+<tmpl_var form-end>
+</div>