2011-11-15 02:13:39 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div id="js-topsection">
|
|
|
|
<div class="js-main">
|
|
|
|
<h1>Subjects</h1>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Below is a list of subjects for books that users have added to
|
|
|
|
wishlists. It is here primarily to show what subjects are present
|
|
|
|
in the database to guide further development. You can order by the
|
|
|
|
<a href="{% url subjects %}">subject name</a> or by the
|
2011-12-19 06:33:13 +00:00
|
|
|
<a href="{% url subjects %}?order=count">number</a> of works
|
2011-11-15 02:13:39 +00:00
|
|
|
with that subject.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<ul>
|
|
|
|
{% for subject in subjects %}
|
2011-12-19 06:33:13 +00:00
|
|
|
<li>{{ subject.name }} ({{ subject.works__count }})</li>
|
2011-11-15 02:13:39 +00:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|