<div class="ofaj-search"> {{ form_search }} {{ form }} </div> <script> $(function() { {{ grid_js }} }); </script> {{ grid }}