1👍
✅
Try this:
{{ filter.form|bootstrap_inline }}
OR
<form action="" method="get" class="form-inline">
To use class=”form-inline” on the form element, also change the “|boostrap” template tag to “|bootstrap_inline”.
Source:stackexchange.com