diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-04-19 14:19:45 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-04-19 14:19:51 +0200 |
commit | 4ff48ff54fc7f58362bb4e5977512c6c1b4e4dac (patch) | |
tree | a1562194fd84ccd72745d8f3cb0488f6a7bc96ae /templates/form.mdwn | |
parent | 99dca30f21f144a6ed05e01c5e33d41ff67e17d1 (diff) |
Add form templates. Add book form.
Diffstat (limited to 'templates/form.mdwn')
-rw-r--r-- | templates/form.mdwn | 10 |
1 files changed, 10 insertions, 0 deletions
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> |