{% extends "todo/base.html" %} {% block title %}Search results{% endblock %} {% block content_title %}

Search

{% endblock %} {% block content %} {% if found_items %}

{{found_items.count}} search results for term: "{{ query_string }}"

{% for f in found_items %}

{{ f.title }}
On list: {{ f.list.name }}
Assigned to: {% if f.assigned_to %}{{ f.assigned_to }}{% else %}Anyone{% endif %} (created by: {{ f.created_by }})
Complete: {{ f.completed|yesno:"Yes,No" }}

{% endfor %}
{% else %}

No results to show, sorry.

{% endif %} {% endblock %}