9 lines
263 B
HTML
9 lines
263 B
HTML
{% macro render_field(field) %}
|
|
{{ field.label }}
|
|
{{ field(**kwargs)|safe }}
|
|
{% if field.errors %}
|
|
{% for error in field.errors %}
|
|
<span class="help-inline">{{ error }}</span>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endmacro %} |