{% if field %} {% with field.widget as widget %} {% include widget.template_name %} {% endwith %} {% comment "Optional note" %} the script handles showing / hiding the extra-widgets based on whether or not their input option is selected script activates on any input change because radio buttons only trigger `change` when they are selected, not when they are un-selected TODO: scope this jquery include to the following script tag somehow TODO: !!! TESTS !!! {% endcomment %} {% endif %}