forked from moepman/bk-dss
4 lines
291 B
HTML
4 lines
291 B
HTML
{% macro render_field(field) %}
|
|
<div class="form-group {% if field.errors %}has-error{% endif %}">{{ field.label(class_="control-label col-sm-2") }}<div class="col-sm-4">{{ field(class_="form-control") }}</div>{% for error in field.errors %}[ {{ error }} ]{% endfor %}</div>
|
|
{%- endmacro %}
|