Commits

Luke Plant  committed 1484a9e

Fixed use of deprecated url tag

  • Participants
  • Parent commits ea66212

Comments (0)

Files changed (1)

File templates/cciw/officers/leaders_index.html

 {% extends "cciw/officers/base.html" %}
+{% load url from future %}
 {% block title %}Leaders' tools | CCIW Officers {% endblock %}
 {% block content %}<div id="content-main">
 <h1>Leaders' tools</h1>
   references:</p>
 <ul>
   {% for year in statsyears %}
-    <li><a href="{% url cciw.officers.views.stats year=year %}">Stats {{ year }}</a></li>
+    <li><a href="{% url 'cciw.officers.views.stats' year=year %}">Stats {{ year }}</a></li>
   {% endfor %}
 </ul>