{% extends 'base.html' %} {% block main %} {% from "_formhelpers.html" import render_field %}

Add Book

{% with messages = get_flashed_messages() %} {% if messages %}
    {% for message in messages %}
  • {{ message }}
  • {% endfor %}
{% endif %} {% endwith %}
{{ form.csrf_token }}
Title:*
{{ form.title (size=50, class="form-control") }}

Author(s):* {% for author in form.author %} {% endfor %}
{{ author.author_name (size=50)}}

Category:*
{{ form.category(size=50, class="form-control") }}

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

How different is this item to the rest of the collection? Or is it more of the same?
{{ form.sameness(min=0, max=100, oninput="outputUpdate(value)") }}   {{ form.sameness.data }} % different


Check the bibliography. How diverse are the references in this book?
{{ form.diversity(min=0, max=100, oninput="outputUpdate2(value)") }}   {{ form.diversity.data }} % diverse


Check the writing. Who is speaking? Is the voice more often male or female?
{{ form.diversity(min=1, max=100, oninput="outputUpdate3(value)") }}   {{ form.gender.data }} % female


Who are you? {{ render_field(form.who) }}


How much time have you spent with this item? Include the time spent looking for it, and uploading it.
{{ form.time (size = 50, class="form-control")}} hours



Add a message for future readers: {{ form.message(size=90, class="form-control") }}

{{ form.file }} {{ form.upload }} {{ form.wish }}
Titles: {{ books_all }}
Authors: {{ authors_all }}
Categories: {{ categories|replace('[', '')|replace(']', '') }}
Stacks: {{ stacks_all|replace('[', '')|replace(']', '') }}
From the years: {{earliest}} –– {{latest}}
Gaps in the collection: At least {{ books_potential }} potential books missing
{% endblock %}