{% extends 'base.html' %} {% block main %}
{% from "_formhelpers.html" import render_field %}
{{ form.select(style="width: 100px; margin: 10px; float: left; font-size: 20px") }}


{{ form.grid(style="font-size:20px")}}{{ form.listview(style="font-size:20px")}}

All Books

{% with messages = get_flashed_messages() %} {% if messages %}
{% endif %} {% endwith %} {% for book in books %} {% endfor %}
{{ book.title }} {% for author in book.authors %}
  • {{ author.author_name }}
  • {% endfor %}
    {{ book.year_published }} {{ book.category}} {% for stack in book.stacks %}
  • {{ stack.stack_name }}
  • {% endfor %}
    ===>
    {% endblock %}