[enh][mod] template refactor

This commit is contained in:
asciimoo 2013-10-17 01:53:52 +02:00
parent 3373b2c298
commit 0531706287
3 changed files with 11 additions and 13 deletions

View file

@ -1,9 +1,6 @@
{% extends "base.html" %}
{% block content %}
<form method="post" action="">
<input type="text" name="q" value="{{ q }}" autocomplete="off" />
<input type="submit" value="search" />
</form>
{% include 'search.html' %}
{% for result in results %}
<div class="result">
<h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>