{% for field in shared_fields %}
{{field['label']}}:
{% endfor %}
{% for control in controls %}
{% for field in control['text_fields'] %}
{{field['label']}}:
{% endfor %}
{% if control['control_type']=="button" %}
{% endif %}
{% endfor %}
{% for control in controls %}
{% if control['output_type'] != "table" and control['output_type'] != "d3" %}
{% endif %}
{% endfor %}