diff options
Diffstat (limited to 'templates/macros.jinja')
-rw-r--r-- | templates/macros.jinja | 2 |
1 files changed, 1 insertions, 1 deletions
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) %} <table> {% for field in form if not field is hidden %} - <tr><th>{{ field.label }}</th><td>{{ field }}</td><td>{{ field.description }}</td> + <tr><th>{{ field.label }}</th><td>{{ field(**kwargs.get(field.short_name, {})) }}</td><td>{{ field.description }}</td> <td>{% if field.errors %}<span class="error">{{ field.errors[0] }}</span>{% endif %}</td></tr> {% endfor %} </table> |