Commit d6ae182a authored by Okhin's avatar Okhin

Using a more sensible template

parent 5b23b406
...@@ -24,13 +24,15 @@ ...@@ -24,13 +24,15 @@
{% if query %} {% if query %}
<h3>Results</h3> <h3>Results</h3>
<ul>
{% for result in page.object_list %} {% for result in page.object_list %}
<p> <li>
<a href="{{ result.object.get_absolute_url }}">{{ result.object.title }}</a> <a href="{{ result.object.get_absolute_url }}">{{ result.oject }}</a>
</p> </li>
{% empty %} {% empty %}
<p>No results found.</p> <li>No results found.</li>
{% endfor %} {% endfor %}
</ul>
{% if page.has_previous or page.has_next %} {% if page.has_previous or page.has_next %}
<div> <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