{% macro render_field_with_errors(field,icon_class) %}
{{ field(class_='form-control', **kwargs)|safe }}