        {% for d4z4 in ind.fshd_loci %}
                <tr {% if d4z4.chromosome == 4 and d4z4.count is number and d4z4.count < 11 and d4z4.haplotype == "4qA" %}
                      class="bg-danger text-white"
                    {% elif d4z4.chromosome == 4 and d4z4.count is number and d4z4.count < 11 %}
                      class="bg-warning text-white"
                    {% endif %}>
                  {% if loop.index == 1 %}
                    <td> {{ ind.display_name }}</td>
                    