Fix minor HTML issue.
authorChris Doble <chris@chrisdoble.com>
Mon, 11 Apr 2011 23:52:22 +0000 (09:52 +1000)
committerChris Doble <chris@chrisdoble.com>
Mon, 11 Apr 2011 23:52:22 +0000 (09:52 +1000)
django_tables/templates/django_tables/table.html

index c6d12c0b1c9227e356ce04d50e4aa939cec45867..b287e5fda470ab86781c5a71ac4098bad74c3826 100644 (file)
 {% if table.page %}
 <ul class="pagination">
     {% if table.page.has_previous %}
-    <li class="previous"><a href="{% set_url_param page=table.page.previous_page_number %}">Previous</a>
+    <li class="previous"><a href="{% set_url_param page=table.page.previous_page_number %}">Previous</a></li>
     {% endif %}
     <li class="current">Page {{ table.page.number }} of {{ table.paginator.num_pages }}</li>
     {% if table.page.has_next %}
-    <li class="next"><a href="{% set_url_param page=table.page.next_page_number %}">Next</a>
+    <li class="next"><a href="{% set_url_param page=table.page.next_page_number %}">Next</a></li>
     {% endif %}
-    </span>
-</div>
+</ul>
 </div>
 {% endif %}
 {% endspaceless %}