{% set fg_class=q.form_group_class | join(" ") %} {% if q.error is not none %} {% set fg_class=fg_class+" error" %} {% endif %}
{% if q.error is not none or q.label is not none %} {% block label %} {% endblock %} {% endif %} {% block content %}{% endblock %} {% block form_text %}{% endblock %}