Mercurial > trustbridge
view doc/help/theme/better/searchbox.html @ 1384:318e8c5c4f85
Do not depend on RELEASE_BUILD for debug output
this is handled by g_debug and no longer neccessary als
a Macro
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 15 Jan 2015 15:57:26 +0100 |
parents | cf1fdb254c41 |
children |
line wrap: on
line source
{%- if pagename != "search" %} <form class="search" action="{{ pathto('search') }}" method="get"> <input type="text" name="q" placeholder="{{ _('type to search') }}" /> {#- I have not been able to make this look good. #} {#- <input type="submit" value="{{ _('Search') }}" /> #} <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <script type="text/javascript">$('#searchbox').show(0);</script> {%- endif %}