{% if Custom_Fields %} {% for Custom_Field in Custom_Fields_Values %} {% if Custom_Field.type == "text" %}

{% elseif Custom_Field.type == "textarea" %}
{% elseif Custom_Field.type == "select" or Custom_Field.type == "centralised_select" or Custom_Field.type == "dataset_select"%}
{% elseif Custom_Field.type == "checkbox"%}
{% elseif Custom_Field.type == "consent" or Custom_Field.type == "group"%}
{% elseif Custom_Field.type == "radios" or Custom_Field.type == "centralised_radios"%}
{% for key, opt in Custom_Field.values %} {% endfor %}
{% elseif Custom_Field.type == "url"%}
{% elseif Custom_Field.type == "date" %}
{% endif %} {% endfor %} {% endif %}