{% macro render_field(field) %}
{{ field.label }}
{{ field(class="form-control",**kwargs)|safe }} {% if field.errors %} {% endif %}
{% endmacro %}