<div class="row {{ question.css_class }}{% if errors[question.id] is not empty %} errorWrap showError{% endif %}">
    <label for="question_{{ question.id }}">
        {{ question.name }}{% if question.required %}<sup>*</sup>{% endif %}
    </label>
    <div class="inputWrap {% if errors[question.id] is not empty %} inputError showError{% endif %}">
        {% for option in question.options %}
            {% if option.value is not empty %}
                <div>
                    <input type="radio"
                           class="radio"
                           name="question_{{ question.id  }}"
                           id="question_{{ question.id }}_{{ option.id }}"
                           value="{{ option.id }}"
                           {% if request['question_' ~ question.id] == option.id %}
                                checked="checked"
                           {% endif %}/>
                    <label for="question_{{ question.id }}_{{ option.id }}">
                        {{ option.value }}
                    </label>
                </div>
            {% endif %}
        {% endfor %}
        {% if errors[question.id] is not empty %}
            <div class="validationMessage">
                <span>{{ errors[question.id] }}</span>
            </div>
        {% endif %}
    </div>
</div>