From 73eec8f112dd9d85a296cf7b6103622efa39d6a7 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 8 May 2019 14:19:20 -0500 Subject: [PATCH] Add support for "quickie" search in falafel theme --- tailbone/templates/themes/falafel/base.mako | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/tailbone/templates/themes/falafel/base.mako b/tailbone/templates/themes/falafel/base.mako index b8b01583..e9ff5ac0 100644 --- a/tailbone/templates/themes/falafel/base.mako +++ b/tailbone/templates/themes/falafel/base.mako @@ -129,6 +129,29 @@
+ ## Quickie Lookup + % if quickie is not Undefined and quickie and request.has_perm(quickie.perm): +
+ ${h.form(quickie.url, method="get")} +
+
+
+ ${h.text('entry', placeholder=quickie.placeholder, autocomplete='off')} +
+
+ +
+
+
+ ${h.end_form()} +
+ % endif + ## Theme Picker % if expose_theme_picker and request.has_perm('common.change_app_theme'):