diff options
-rw-r--r-- | book.mdwn | 12 | ||||
-rw-r--r-- | book/thanks.mdwn | 9 | ||||
-rw-r--r-- | templates/form-receipt.mdwn | 8 | ||||
-rw-r--r-- | templates/form.mdwn | 10 |
4 files changed, 19 insertions, 20 deletions
@@ -1 +1,11 @@ -[[!template id=form]] +<tmpl_var js-head> +<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> diff --git a/book/thanks.mdwn b/book/thanks.mdwn index 3edbcbe..1ef0192 100644 --- a/book/thanks.mdwn +++ b/book/thanks.mdwn @@ -4,4 +4,11 @@ Tak for din booking-ansøgning ved stadsvandring.dk - du vil snarest blive konta Her er hvad vi har modtaget af ansökan fra dig: -[[!template id=form-receipt]] +<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-receipt.mdwn b/templates/form-receipt.mdwn deleted file mode 100644 index 9ecbe4a..0000000 --- a/templates/form-receipt.mdwn +++ /dev/null @@ -1,8 +0,0 @@ -<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 deleted file mode 100644 index 65f3d24..0000000 --- a/templates/form.mdwn +++ /dev/null @@ -1,10 +0,0 @@ -<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> |