{% for columna in columnas %} {% if forloop.first %} {% endfor %} {% for fila in filas %} {% if columnas|length > 1 %} {% endif %} {% if columnas|length > 2 %} {% endif %} {% if columnas|length > 3 %} {% endif %} {% if columnas|length > 4 %} {% endif %} {% if columnas|length > 5 %} {% endif %} {% if columnas|length > 6 %} {% endif %} {% endfor %}
{% elif forloop.last %} {% else %} {% endif %}
{% if columnas.0.tipo == 'text' %} {% elif columnas.0.tipo == 'checkbox' %}
{% if fila.valor1 == 'Sí' or fila.valor1 == True or fila.valor1 == 1 %} {% else %} {% endif %} {% if fila.valor1 == 'No' or fila.valor1 == False or fila.valor1 == 0 %} {% else %} {% endif %} No
{% endif %}
{% if columnas.1.tipo == 'text' %} {% elif columnas.1.tipo == 'checkbox' %}
{% if fila.valor2 == 'Sí' or fila.valor2 == True or fila.valor2 == 1 %} {% else %} {% endif %} {% if fila.valor2 == 'No' or fila.valor2 == False or fila.valor2 == 0 %} {% else %} {% endif %} No
{% endif %}
{% if columnas.2.tipo == 'text' %} {% elif columnas.2.tipo == 'checkbox' %}
{% if fila.valor3 == 'Sí' or fila.valor3 == True or fila.valor3 == 1 %} {% else %} {% endif %} {% if fila.valor3 == 'No' or fila.valor3 == False or fila.valor3 == 0 %} {% else %} {% endif %} No
{% endif %}
{% if columnas.3.tipo == 'text' %} {% elif columnas.3.tipo == 'checkbox' %}
{% if fila.valor4 == 'Sí' or fila.valor4 == True or fila.valor4 == 1 %} {% else %} {% endif %} {% if fila.valor4 == 'No' or fila.valor4 == False or fila.valor4 == 0 %} {% else %} {% endif %} No
{% endif %}
{% if columnas.4.tipo == 'text' %} {% elif columnas.4.tipo == 'checkbox' %}
{% if fila.valor5 == 'Sí' or fila.valor5 == True or fila.valor5 == 1 %} {% else %} {% endif %} {% if fila.valor5 == 'No' or fila.valor5 == False or fila.valor5 == 0 %} {% else %} {% endif %} No
{% endif %}
{% if columnas.5.tipo == 'text' %} {% elif columnas.5.tipo == 'checkbox' %}
{% if fila.valor6 == 'Sí' or fila.valor6 == True or fila.valor6 == 1 %} {% else %} {% endif %} {% if fila.valor6 == 'No' or fila.valor6 == False or fila.valor6 == 0 %} {% else %} {% endif %} No
{% endif %}
{% if columnas.6.tipo == 'text' %} {% elif columnas.6.tipo == 'checkbox' %}
{% if fila.valor7 == 'Sí' or fila.valor7 == True or fila.valor7 == 1 %} {% else %} {% endif %} {% if fila.valor7 == 'No' or fila.valor7 == False or fila.valor7 == 0 %} {% else %} {% endif %} No
{% endif %}