{% extends "base.html" %} {% block content %}
Search {% if term %}for {{ term }}{% else %}database{% endif %}

{% csrf_token %}

{% if term %}

Search for '{{ term }}'

{% for obj in results %}
{{ obj }}
{% include "whoisdb/handle_table.html" with object=obj %} {% empty %} No objects found. {% endfor %}

{% endif %}
{% endblock %}