{#
 # Display Search for AdminList
 #
 # Parameters:
 #   admin_list: AdminList object
 #   param:      Parameter name to use, 'search' if non given
 #   route:      Route to use, else current route is used
 #
 #}

{% set base_params = admin_list.getParams() %}
{% set order_direction = admin_list.getOrderDir() %}
{% set order_field = admin_list.getOrderField() %}

{% if route is not defined %}{% set route = app.request.attributes.get('_route') %}{% endif %}
{% if param is not defined %}{% set param = 'search' %}{% endif %}

<form style="display: inline-block" role="form">
    <input type="search" class="form-control" placeholder="Zoeken" name="search">
</form>