I'm getting an "invalid block tag: 'endif'" error when rendering the
following template. The error message is highlighting the last {%
endif %} tag (not the {% endifequal %}). Everything's properly
nested, so why the heck is it throwing this error?
{% ifequal entry_mode "aggregate" %}
(% if entries.has_other_pages %}
<ul class="prev-next">
{% if
entries.has_previous %}
<li
class="previous"><a href="{{ prev_url }}">Previous
Entries</a></li>
{% endif %}
{% if entries.has_next
%}
<li
class="next"><a href="{{ next_url }}">Next Entries</a></
li>
{% endif %}
</ul>
{% endif %}
{% else %}
{% endifequal %}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---