{% macro render_field(field, label_visible=true,message=True,parse_class=True) -%}
     <div class="form-group{% if field.errors %}has-error{% endif %} {{ kwargs.pop('class_', '') }}">
        {% if field.type != 'HiddenField' and label_visible %}
            <label for="{{ field.id }}" class="control-label">{{ field.label }}</label>
        {% endif %}
	{% if parse_class %}
	{{ field(class_='form-control', **kwargs) }}
	{% else %}
	{{ field(class_='', **kwargs) }}
	{% endif %}
        {% if message and field.errors %}
            {% for e in field.errors %}
                <p class="help-block">{{ e }}</p>
            {% endfor %}
        {% endif %}
    </div>
{%- endmacro %}

{% macro render_field(field, label_visible=true,message=True,parse_class=True) -%}
     <div class="form-group {% if field.errors %}has-error{% endif %} {{ kwargs.pop('class_', '') }}">
        {% if field.type != 'HiddenField' and label_visible %}
            <label for="{{ field.id }}" class="control-label">{{ field.label }}</label>
        {% endif %}
	{% if parse_class %}
	{{ field(class_='form-control', **kwargs) }}
	{% else %}
	{{ field(class_='', **kwargs) }}
	{% endif %}
        {% if message and field.errors %}
            {% for e in field.errors %}
                <p class="help-block">{{ e }}</p>
            {% endfor %}
        {% endif %}
    </div>
{%- endmacro %}

Fix issue on display error message for forms
Fix issue on display error message for forms

Errors message weren't displayed in red anymore because of a typo between
classs names into the div. This commit fixes the issues adding a whitespace
which was removes intentionnaly.
