{% comment %} A rows field (field.rows, a RowsView): a block per record with the fields it asks, posted as data[][][]. A field shows only while its "when" holds. "Set all to:" sets the segmented column on every record, and "Use for all" copies one record's value to the others (the behaviour script). {% endcomment %}{% load qubesync %} {% with rows=field.rows %}{% with set_all=rows.set_all %}

{{ rows.label }}

{% if set_all %}
{% qube_t "question.set_all" %} {% for option in set_all.options %}{% endfor %}
{% endif %}
{% for row in rows.rows %}{% include "qubesync/question/rows/row.html" %}{% endfor %}
{% endwith %}{% endwith %}