{# 
/**
 * Multiple Choice question item Html
 *
 * @var $sRows      : the rows, generated with the views rows/answer_row*.php
 *
 * @var $name
 * @var $anscount
 * @var $othertext
 */
 #}
<!-- Multiple Choice -->

<!-- answer -->

<input type="hidden" name="MULTI{{name}}" value="{{anscount}}" />
<div class="{{coreClass}} row" role="group" aria-labelledby="ls-question-text-{{basename}}">
    <ul class="list-unstyled col-12 col-md-{{iColumnWidth}}">
        {% for aRow in aRows %}
            {% if loop.index0 is divisible by(iMaxRowsByColumn) and loop.index0 != 0  %}
                </ul>
                <ul class="list-unstyled col-12 col-md-{{iColumnWidth}}">
            {% endif %}

            {% set rowTemplate = aRow.other ? './survey/questions/answer/multiplechoice/rows/answer_row_other.twig' : './survey/questions/answer/multiplechoice/rows/answer_row.twig' %}
            <!-- Row {{loop.index}} -->
            {% include rowTemplate with aRow %}

        {% endfor %}
    </ul>
<!-- end of answer -->
</div>
