Commit d6ae182a authored by Okhin's avatar Okhin

Using a more sensible template

parent 5b23b406
......@@ -24,13 +24,15 @@
{% if query %}
<h3>Results</h3>
<ul>
{% for result in page.object_list %}
<p>
<a href="{{ result.object.get_absolute_url }}">{{ result.object.title }}</a>
</p>
<li>
<a href="{{ result.object.get_absolute_url }}">{{ result.oject }}</a>
</li>
{% empty %}
<p>No results found.</p>
<li>No results found.</li>
{% endfor %}
</ul>
{% if page.has_previous or page.has_next %}
<div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment