summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/templates/base.html')
-rw-r--r--hyperkitty/templates/base.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html
index 76d7d66..8bdb1c5 100644
--- a/hyperkitty/templates/base.html
+++ b/hyperkitty/templates/base.html
@@ -36,6 +36,19 @@
{% endif %}
</ul>
+ <div id="search-form" class="nav">
+ <form name="search" method="get" action="{% url 'search' %}" class="form-search">
+ {% if mlist %}<input type="hidden" name="list" value="{{ mlist.name }}" />{% endif %}
+ <div class="input-append">
+ <input name="query" type="text" class="search-query"
+ placeholder="Search {% if mlist %}this list{% else %}all lists{% endif %}"
+ {% if query %}value="{{ query }}"{% endif %}
+ />
+ <button type="submit" class="btn">Search</button>
+ </div>
+ </form>
+ </div>
+
<a class="brand" href="{% url 'root' %}">{{ app_name|title }}</a>