]> git.parisson.com Git - django_quiz.git/commitdiff
forgot a file
authorTom Walker <tomwalker0472@gmail.com>
Fri, 4 Jul 2014 14:40:47 +0000 (15:40 +0100)
committerTom Walker <tomwalker0472@gmail.com>
Fri, 4 Jul 2014 14:40:47 +0000 (15:40 +0100)
quiz/templates/quiz/category_list.html [new file with mode: 0644]

diff --git a/quiz/templates/quiz/category_list.html b/quiz/templates/quiz/category_list.html
new file mode 100644 (file)
index 0000000..3963805
--- /dev/null
@@ -0,0 +1,21 @@
+{% extends 'base.html' %}
+{% block title %}All Quizzes{% endblock %}
+
+{% block content %}
+<h2>Category list</h2>
+
+<ul>
+  {% for cat in object_list %}
+  <li>
+       <a href="{% url 'quiz_category_list_matching' category_name=cat.category %}">
+         {{ cat.category }}
+       </a>
+  </li>
+  {% endfor %}
+</ul>
+
+{% endblock %}
+
+{% block right-sidebar %}
+<h2>Sponsored Advertisements</h2>
+{% endblock %}