diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/form-receipt.mdwn | 8 | ||||
-rw-r--r-- | templates/form.mdwn | 10 |
2 files changed, 18 insertions, 0 deletions
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> |