XML attributes must be in quotes!

This commit is contained in:
Christopher Allan Webber 2011-06-07 20:38:05 -05:00
parent eb21f9a6cb
commit 960cbf9689

View File

@ -21,13 +21,13 @@
<div class=pagination> <div class=pagination>
{% if pagination.has_prev %} {% if pagination.has_prev %}
<a href={{ pagination.get_page_url(request, pagination.page-1) }}>&laquo; Prev</> <a href="{{ pagination.get_page_url(request, pagination.page-1) }}">&laquo; Prev</>
{% endif %} {% endif %}
{%- for page in pagination.iter_pages() %} {%- for page in pagination.iter_pages() %}
{% if page %} {% if page %}
{% if page != pagination.page %} {% if page != pagination.page %}
<a href={{ pagination.get_page_url(request, page) }}>{{ page }}</a> <a href="{{ pagination.get_page_url(request, page) }}">{{ page }}</a>
{% else %} {% else %}
<strong>{{ page }}</strong> <strong>{{ page }}</strong>
{% endif %} {% endif %}
@ -37,7 +37,7 @@
{%- endfor %} {%- endfor %}
{% if pagination.has_next %} {% if pagination.has_next %}
<a href={{ pagination.get_page_url(request, pagination.page+1) }}>Next &raquo;</a> <a href="{{ pagination.get_page_url(request, pagination.page + 1) }}">Next &raquo;</a>
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}