{% extends "public/templates/public_template.html" %}

{% block title %}Upload book{% endblock %}

{% block main %}

<div class="requestabook">

  <h2>Books Requested</h2>
  <p class="compressed"><a class="linktorequest" href="/request_form">Fill a form to request a book</a></p>

  {% for book in books %}
  <div class="booksrequested">
    <h4>{{ book['title'] }}</h4>
    <p class="info">{{ book['author'] }}</p>
    <p class="info">{{ book['publisher'] }}</p>
    <p class="info">{{ book['year'] }}</p>
    <p class="info">{{ book['extention'] }}</p>
  </div>
  {% endfor %}

</div>

{% endblock %}
