Django templates make me go mad...

Why is this a positive thing? Excerpt from Django Oscar, an eComerce framework.

<li class="step2 {% if step == 2 %}active{% else %}{% if step == 3 %}previous{% else %}{% if step > 2 %}visited{% else %}disabled{% endif %}{% endif %}{% endif %} ">

Gah...

Comments