{% extends "main.html" %} {% block title %}Search{% endblock %} {% block content %}

Search {% if query %} - {{query}} {%endif%}

{{ form.csrf_token }} {{ form.query(size=20) }} {{ form.submit }}

{% if query and not entries %} Nothing found {%endif%} {% if entries %} {% for mt, val in entries.items() %} {% endfor %}
Name Description Machinetag
Name Description Machinetag
{{ val[0].name }} {% if val|length == 3 %} {% if val[2].description %} {{ val[2].description }} {% elif val[2].expanded %} {{ val[2].expanded }} {%endif%} {% elif val[1].description %} {{ val[1].description }} {% else %} {{ val[1].predicate }} {%endif%} {{ mt }}
{%endif%}
{% endblock %}