feature #1038 Add a new `search_form` block in list (Pierstoval)
feature #1038 Add a new `search_form` block in list (Pierstoval)

This PR was merged into the master branch.

Discussion
----------

Add a new `search_form` block in list

I wish there were a block like this because now if we need to customize the `search` action by adding custom form inputs (like a simple date range or related-entity search), we have to copy/paste the whole form.

As I find copy/pasting to be wrong, adding a simple block here allows things like this:

```twig
{% block search_form %}
    <div class="input-group">
        <select name="category">
            <option value="">-- Filter by category --</option>
            {% for category in categories %}<option value="{{ category.id }}">{{ category }}</option>{% endfor %}
        </select>
    </div>
{% endblock %}
```

And add the `categories` collection in the `searchAction` manually, or with a twig extension.

What do you think?

Commits
-------

163a623 Add a new `search_form` block in list

OskarStark/EasyAdminBundle,OskarStark/EasyAdminBundle,yceruto/EasyAdminBundle,yceruto/EasyAdminBundle,OskarStark/EasyAdminBundle,ogizanagi/EasyAdminBundle,ogizanagi/EasyAdminBundle,yceruto/EasyAdminBundle,ogizanagi/EasyAdminBundle,ogizanagi/EasyAdminBundle,javiereguiluz/EasyAdminBundle,javiereguiluz/EasyAdminBundle