<div class="row">


    {% set caracterisitcas =
        {
            'cv'            : 'una enfermedad cardiovascular ?',
            'hypertension'  : 'hipertensión ?',
            'menopause'     : 'menopausia ?',
            'pregnancy'     : 'embarazo ?',
            'lactation'     : 'lactancia ?',
            'celiac'        : 'celiacos ?',
            'lactose'       : 'intolerante a la lactosa?',
            'diabetes'      : 'diabetes ?',
            'cholesterol'   : 'colesterol ?',
            'triglycerides' : 'trígliceridos ?',
            'al_fish'       : 'alergia al pescado/marisco ?',
            'al_egg'        : 'alergia al huevo ?',
            'al_nuts'       : 'alergia a los frutos secos ?'
        } %}


    <div class="row">

        {#FOR PARA COLOCAR EN ROWS DE 3 COLUMNAS LAS CARACTERISTICAS EN PANTALLAS GRANDES ( MD Y LG )#}

        {% for key,value in caracterisitcas %}

            {% if is_divisible( loop.index -1 ,3) %}
                </div>
                <div class="row">
            {% endif %}

            <div class="container-checkbox col-md-4 col-lg-4 visible-md visible-lg">
                <div class="form-group text-center">
                    <label class="switch" for="{{ key }}">
                        <input type="checkbox" class="data-profile" id="{{ key }}" rel="{{ key }}" {% if attribute(profile, key) %} checked {% endif %}/>
                        <div class="slider round"></div>
                    </label>
                    <p>{{ value }}</p>
                </div>
            </div>
        {% endfor %}

        {#FIN FOR LG / MG#}

        {#FOR PARA COLOCAR EN ROWS DE 2 COLUMNAS LAS CARACTERISTICAS EN PANTALLAS PEQUEÑAS ( XS Y SM )#}

        {% for key,value in caracterisitcas %}

            {% if is_divisible( loop.index -1 ,2) %}
                </div>
                <div class="row">
            {% endif %}

            <div class="container-checkbox col-xs-6 col-sm-6 visible-xs visible-sm">
                <div class="form-group text-center">
                    <label class="switch" for="{{ "movil_"~key }}">
                        <input type="checkbox" class="data-profile" id="{{ "movil_"~key }}" rel="{{ key }}" {% if attribute(profile, key) %} checked {% endif %}/>
                        <div class="slider round"></div>
                    </label>
                    <p>{{ value }}</p>
                </div>
            </div>
        {% endfor %}

    </div>
</div>