<div class="pagination">

  {{ pagination_form.as_table }}
 
  {% if newest %}
    <a class="novisit" href="{{newest}}">&laquo; First</a>
  {% endif %}
  {% if prev %}
    <a class="novisit" href="{{prev}}">&lsaquo; Previous</a>
  {% endif %}
  <b>{{ first }}{% if last %} - {{ last }}{% endif %}</b>
  {% if next %}<a class="novisit" href="{{next}}">Next &rsaquo;</a>
  {% endif %}
</div>
