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

Search

{% endblock %} {% block content %} {% if found_tasks %}

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

{% for f in found_tasks %}

{{ f.title }}
In list: {{ f.task_list.name }}
Assigned to: {% if f.assigned_to %}{{ f.assigned_to }}{% else %}Anyone{% endif %}
Complete: {{ f.completed|yesno:"Yes,No" }}

{% endfor %}
{% else %}

No results to show, sorry.

{% endif %} {% endblock %}