diff default/input/form.html @ 10:8b5615a1bf3d

articles, input: use new embedding mechanism in articles + new macros to build forms and inputs
author Goffi <goffi@goffi.org>
date Thu, 27 Apr 2017 01:07:28 +0200
parents
children eb9a42fca6c8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/default/input/form.html	Thu Apr 27 01:07:28 2017 +0200
@@ -0,0 +1,5 @@
+{% macro form(action='') %}
+<form method="post" action="{{action}}">
+    {{ caller() }}
+</form>
+{% endmacro %}