{% for field in form %}
{% if elemento.opcionOtro and field.label == 'Otro' %}
{{ field }}
{% elif field.label == 'Otro' %}
{% else %}
{% if elemento.tipo == 'opcion_multiple' or elemento.tipo == 'casillas' %}
{% for choice in field %}
{{ choice }}
{% endfor %}
{% else %}
{{ field }}
{% endif %}
{% endif %}
{% if field.errors %}
{% for error in field.errors %}
{{ error }}
{% endfor %}
{% endif %}
{% endfor %}
{% for error in form.non_field_errors %}
{{ error }}
{% endfor %}
{% endwith %}
{% endif %}
{% with c=seccion.elemento_set.all|hashD:forloop.counter %}
{% with cb=elemento %}
{% if c.row != cb.row and c is not None %}