{# @copyright: 2012 Thomas Waldmann, Jason Kirtland, Scott Wilson, Cheer Xiao @license: see flatland license Helpers for using flatland with jinja2 to create html forms. TODO: Several of these macros are not yet used. See utils.html for more macros. #} {% macro render_errors(field) %} {%- if field.errors %}
{{ error }}
{% endfor %}{{ field.properties.helper | e }}
{% endif %}