{% 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")}}

{% for book in books|sort(attribute='title', reverse = False) %}

{{ book.title }}
{% for author in book.authors %} {{ author.author_name }}
{% endfor %}

{% endfor %}
{% endblock %}