results.html 263 B

12345678910
  1. {% extends "base.html" %}
  2. {% block content %}
  3. <form method="post" action="">
  4. <input type="text" name="q" value="{{ q }}"/>
  5. <input type="submit" value="search" />
  6. </form>
  7. {% for result in results %}
  8. <p>{{ result|safe }}</p>
  9. {% endfor %}
  10. {% endblock %}