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

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


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

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

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

{%endif%}

More potential books

{%if light%} {%else%} {%endif%} {% for book in books %} {%if light%} {%else%} {%endif%} {% 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 %}