{% for index,color in color_array %}
{% if request_quote_session.extra_color is defined %}
{% set checked = '' %}
{% for key,extraColor in request_quote_session.extra_color %}
{% if(key[3:] == attr.id and extraColor['color'] == index ) %}
{% set checked = 'checked=checked' %}
{% set color_selected = 1 %}
{% endif %}
{% endfor %}
{% endif %}