{% extends 'books.html' %} {% block lookup %} {% if authorId %}

OpenLibrary Books

{% if matched %} {% for match in matched %} {% set matchId = match.key|replace({'/works/': ''}) %} {% endfor %}
Key Title Action Edition Count First Published Authors Link
{{matchId}} {{match.title}} Match {{match.edition_count}} {{match.first_publish_year}} {{match.author_name|join(', ')}} {% if match.key %}OpenLibrary{% endif %}
{% else %} No match found {% endif %}
{% endif %} {% endblock lookup %}