-{% load url from future %}
-
<ul class="section-buttons">
{% for object in object_list %}
{% url "catalogue_lessons" as lessons_url %}
- <li class="box{{ object.order }}"><a href="{{ lessons_url }}#{{ object.slug }}">{{ object }}</a></li>
+ <li class="box{{ object.order }}"><a href="{{ lessons_url }}#{{ object.slug }}"><span>{{ object }}</span></a></li>
{% endfor %}
-</ul>
\ No newline at end of file
+</ul>