{% if attributes and attributes|length > 0 %} {% for ca in attributes %} {% set outer_loop = loop %}
{% for cle in attributes[ca] %} {% set tag_id = cle.lower() | replace(' ', '_' ) %}
{% if attributes[ca][cle]["type"] == "input_string" %}
{% elif attributes[ca][cle]["type"] == "input_checkbox" %}
{% elif attributes[ca][cle]["type"] == "input_textfield" %}
{% elif attributes[ca][cle]["type"] == "input_select" %}
{% elif attributes[ca][cle]["type"] == "input_date" %}
{% elif attributes[ca][cle]["type"] == "input_datetime" %}
{% elif attributes[ca][cle]["type"] == "raw" %}

{{ cle }}

{% elif attributes[ca][cle]["type"] == "html" %} {{ attributes[ca][cle]['value']| safe }} {% endif %}
{% endfor %}
{% endfor %} {% endif %}