documentation/extensions/odoo_theme/layout_templates/searchbox.html
Elisabeth Dickinson e0a4defc84 [IMP] odoo_theme: add subheader and adapt switchers and searchbar
task-2800937

X-original-commit: 411e1cb1d3
2022-06-15 11:49:26 +02:00

11 lines
639 B
HTML

{# NOTE: the 'searchbox' id is used to hook the "Hide Search Matches" button #}
<div id="searchbox" class="o_search_wrapper d-flex flex-grow-1" role="search">
<form class="o_search" action="{{ pathto('search') }}" method="get">
<input type="text" name="q" id="q" class="form-control rounded-pill" placeholder="What are you looking for?">
<input type="hidden" name="area" value="default">
<input type="hidden" name="check_keywords" value="yes">
<button type="submit" class="btn"><i class="i-search"></i></button>
</form>
</div>
<script type="text/javascript">$('.o_search_wrapper').show(0);</script>