author | Tero Marttila <terom@fixme.fi> |
Mon, 09 Feb 2009 11:46:17 +0200 | |
changeset 65 | 8b50694f841e |
parent 63 | 416560b82116 |
child 68 | 8157c41b3236 |
permissions | -rw-r--r-- |
63 | 1 |
<%inherit file="channel.tmpl" /> |
2 |
||
65 | 3 |
% if not search_query : |
63 | 4 |
<div id="title">${channel.title} :: Search</div> |
5 |
||
6 |
<form action="${h.build_url(urls.channel_search, channel=channel)}" method="GET"> |
|
7 |
<p> |
|
8 |
<input type="text" name="q" /> |
|
9 |
<input type="submit" value="Search" /> |
|
10 |
</p> |
|
11 |
</form> |
|
12 |
||
13 |
<p>Search for something.</p> |
|
14 |
||
15 |
% else : |
|
65 | 16 |
<div id="title">${channel.title} :: Search '${search_query}'</div> |
63 | 17 |
|
18 |
% for line in lines: |
|
65 | 19 |
${line} |
63 | 20 |
% endfor |
21 |
% endif |