{% extends "base.html" %} {% block content %}
{% for result in results %}
{% if result['title'] is defined %}

Title: {{ result['title'] }}

{% endif %} {% if result['year'] is defined %}

Year: {{ result['year'] }}

{% endif %} {% if result['country'] is defined %}

Country: {{ result['country'].name }} {{ result['country'].flag }}

{% endif %} {% if result['original_title'] is defined %}

Original language title: {{ result['original_title'] }}

{% endif %} {% if result['abstract'] is defined %}

Abstract: {{ result['abstract'] }}

{% endif %} {% if result['original_abstract'] is defined %}

Original language abstract: {{ result['original_abstract'] }}

{% endif %}

European Patent Office PDF: {{ result['application_id'] }}

{% if result['image'] is defined %}
Drawing accompanying patent for {{ result['title'] }}
{% endif %}
{% endfor %}
{% endblock %}