This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
worblehat-old/python/web/templates/category/view.html

25 lines
432 B
HTML

{% extends "base/main.html" %}
{%block title%}
{{ category }}
{% endblock %}
{% block content %}
<h2>{{ category }}</h2>
{% if not book_list %}
Det finnes ingen bøker i denne kategorien.
{% else %}
<!---Følgende bøker finnes i denne kategorien:---!>
<div class="key">Bøker:</div>
<ul>
{% for book in book_list %}
<li><a href="/bok/{{ book.isbn }}">{{ book }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% endblock %}