{% extends 'base.html' %} {% load i18n %} {% block content %}
{{ form.non_field_errors }}
{% trans "Search in my triggers" %} {% csrf_token %}
{% if form.q.errors %} {% endif %}
{{ form.q }}
{% if query %}

Results

{% for result in object_list %}

{{ result.object.description }}

{% empty %}

No results found.

{% endfor %} {% else %} {# Show some example queries to run, maybe query syntax, something else? #} {% endif %}
{% endblock %}