{% include 'od/fields/Label.html' with widget=widget %} {% if widget.optgroups|length < 5 %} {% include 'od/fields/RadioGroup.html' with widget=widget %} {% else %} {% endif %}