{% extends 'base.html' %} {% block main %}

All Books

{% with messages = get_flashed_messages() %} {% if messages %}
{% endif %} {% endwith %} {% for book in books|sort(attribute='title', reverse = False) %} {% endfor %}
{{ book.title }} {% for author in book.authors %}
  • {{ author.author_name }}
  • {% endfor %}
    {{ book.fileformat }} {{ book.category}} {% for stack in book.stacks %}
  • {{ stack.stack_name }}
  • {% endfor %}
    {% endblock %}