{% extends "base.html" %} {% block css %} {% endblock %} {% block main %}

Nothing in the library yet with: {{ title }}


{% with messages = get_flashed_messages() %} {% if messages %}
{% endif %} {% endwith %}

Add this book:

{{ form.csrf_token }}
Title: {{ form.title (size=34, class="form-control") }}

Author(s): {% for author in form.author %} {% endfor %}
{{ author.author_name (size=40)}}
Category: {{ form.category(size=27, class="form-control") }}

Year published: {{ form.year_published(size=8, class="form-control") }}

{{ form.file }} {{ form.upload }} {{ form.wish }}

go back home


More potential books

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