scith/boxbilling-bootstrap

Fix the knowledge base search box

Opened this issue · 1 comments

scith commented

Not working at the moment.
The GET request goes to index instead of to /kb

In the file mod_kb_index.phtml replace the form with

<form method="get" action="">
<div class="input-group">
<input class="" name="_url" type="hidden" value="/kb">
<input name="q" type="text" class="form-control" value="{{ request.q }}" placeholder="{% trans 'What are you looking for?' %}">
<span class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="fa fa-search"></i></button>
</span>
</div>
</form>