===============
Comparison tags
===============
It's usually a bad idea to have a lot of logic in your templates, but
occasionally there's a true presentational need for certain
operations. Django provides an ``ifequal`` tag which tests equality of
two values, and this tag library supplements it by providing a set of
tags which can handle other types of comparisons.
To use these tags, you'll need to have ``template_utils`` in your
``INSTALLED_APPS`` list, and you'll need to have ``{% load comparison
%}`` in your template.
``if_greater``
==============
Tests whether one value is greater than another.
Syntax::
{% if_greater [var1] [var2] %}
...do something...
{% else %}
...do something else...
{% endif_greater %}
The ``else`` clause is optional, and ``var1`` and ``var2`` can be
template variables or literal values.
Example::
{% if_greater forloop.counter 1 %}