mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 00:04:16 +03:00
fixed missing anchor closing tag
when next_url is none, big part of page html will be rendered under the <a href='#'> as it does not have a closing tag.
This commit is contained in:
parent
cc64e30f55
commit
2266fec99d
|
@ -7,6 +7,6 @@
|
||||||
{% if next_url %}
|
{% if next_url %}
|
||||||
<li class="next"><a href="{{ next_url }}">Next »</a></li>
|
<li class="next"><a href="{{ next_url }}">Next »</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li class="next disabled"><a href="#">Next »</li>
|
<li class="next disabled"><a href="#">Next »</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user