[Fixed]-I can't find a way to access a variable in my html template

1👍

I solved my issue using:

{% for key, value in records_list.1.items %}

and then:

{% for key, value in records_list.1.items %}
    {% if value.5 > 0 %}
        <tr class="success">
            <td>{{ key }}</td>
            <td>{{ value.0 }}</td>
            <td>{{ value.1 }}</td>
            <td>{{ value.2 }}</td>
            <td>{{ value.3 }}%</td>
            <td>{{ value.4 }}%</td>
            <td>{{ value.5 }}</td>

        </tr>

Leave a comment