1
0
mirror of https://github.com/moepman/bk-dss synced 2024-12-23 04:54:26 +01:00
bk-dss/templates/_helpers.html

4 lines
254 B
HTML
Raw Normal View History

{% macro render_field(field) %}
<div class="form-group {% if field.errors %}has-error{% endif %}">{{ field.label(class_="control-label") }}{{ field(class_="form-control") }}{% for error in field.errors %}[ {{ error }} ]{% endfor %}</div>
{%- endmacro %}