{% extends "base.html" %}
{% block content %}
<form method="post" action="">
<input type="text" name="q" value="{{ q }}"/>
<input type="submit" value="search" />
</form>
{% for result in results %}
<p>{{ result|safe }}</p>
{% endfor %}
{% endblock %}