summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates/_top_nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/jwebmail/templates/_top_nav.html')
-rw-r--r--src/jwebmail/templates/_top_nav.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/jwebmail/templates/_top_nav.html b/src/jwebmail/templates/_top_nav.html
index a9d385b..4c8bdb7 100644
--- a/src/jwebmail/templates/_top_nav.html
+++ b/src/jwebmail/templates/_top_nav.html
@@ -1,9 +1,15 @@
<div class="columns">
- <form class=column>
+ <form class=column method=GET
+ action="{{ url_for(
+ 'displayheaders',
+ folder=request.view_args.folder,
+ per_page=request.args.get('per_page')
+ ) }}">
+
<div class=field>
<div class=control>
- <input type=search id=search size=8 class=input placeholder="{{ gettext('Search') }}" />
+ <input type=search name=search size=8 class=input placeholder="{{ gettext('Search') }}" />
</div>
</div>
</form>