{% comment %} One field of a record (cell, a CellView): a segmented choice, a field with its label (and, for a search or a select, "Use for all"), or what the record already has, read-only. hidden and data-qube-hidden mark a field whose "when" doesn't hold yet; data-qube-required says to require it once shown. {% endcomment %}{% load qubesync %}
{% if cell.segmented %} {% include "qubesync/question/rows/segmented.html" with field=cell.field %} {% elif cell.field %} {% include cell.field.template with field=cell.field %} {% if cell.field.type == "search" or cell.field.type == "select" %}{% endif %} {% else %}
{{ cell.label }} {{ cell.preset }}
{% endif %}