question-checkbox.html 484 Bytes
{% autoescape %}


<h3 id="title">
    {{ question['title'] }}
</h3>

<div id="text">
{{ md(question['text']) }}
</div>

    <fieldset data-role="controlgroup">
        <div class="list-group">
        {% for n,opt in enumerate(question['options']) %}
                <a class="list-group-item">
                    <input type="checkbox" id="{{ n }}" name="answer" value="{{ n }}">
                    {{ opt }}
                </a>
        {% end %}
        </div>
    </fieldset>