{% load form_block %} {% load patched_widget_tweaks %} {% with styles=form_block.form.label_class.LabelStyle %} {% for subfield in field %}
{{ subfield|add_class:"mdc-radio__native-control" }}
{% if labels %} {% with clabels=labels|get_by_choice:subfield.data.value %} {% with cwlabel=clabels|get_by_style:styles.WIDGET %} {% if cwlabel %} {% endif %} {% endwith %} {% endwith %} {% endif %}
{% endfor %} {% endwith %}