From 86b7f84df91e23750c51c9c04f9bbec69cd0d06c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sat, 19 Oct 2013 11:35:05 +0200 Subject: Autofocus for some forms --- templates/macros.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/macros.jinja') diff --git a/templates/macros.jinja b/templates/macros.jinja index 454251d..d7cd2fc 100644 --- a/templates/macros.jinja +++ b/templates/macros.jinja @@ -31,7 +31,7 @@ {% macro render_form(form) %} {% for field in form if not field is hidden %} - + {% endfor %}
{{ field.label }}{{ field }}{{ field.description }}
{{ field.label }}{{ field(**kwargs.get(field.short_name, {})) }}{{ field.description }} {% if field.errors %}{{ field.errors[0] }}{% endif %}
-- cgit v1.2.3