templates/channel_search.tmpl
changeset 63 416560b82116
child 65 8b50694f841e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/channel_search.tmpl	Mon Feb 09 07:32:11 2009 +0200
@@ -0,0 +1,21 @@
+<%inherit file="channel.tmpl" />
+
+% if not query :
+<div id="title">${channel.title} :: Search</div>
+
+<form action="${h.build_url(urls.channel_search, channel=channel)}" method="GET">
+    <p>
+        <input type="text" name="q" />
+        <input type="submit" value="Search" />
+    </p>
+</form>
+
+<p>Search for something.</p>
+
+% else :
+<div id="title">${channel.title} :: Search '${query}'</div>
+
+% for line in lines:
+${line}\
+% endfor
+% endif