{% extends 'layouts/base.html' %} {% load staticfiles %} {% block title %} Search | YourSchool Advisor {% endblock %} {% block content %}
{{ form.q }}
{% if query %}
{% if page.object_list %}

Search Results

{% endif %} {% for result in page.object_list %} {{ result.object }} {% empty %}

No results found.

{% endfor %} {% if page.object_list %}
{% endif %}
{% endif %} {% endblock %}