diff --git a/src/bundle/Resources/views/themes/admin/trash/list.html.twig b/src/bundle/Resources/views/themes/admin/trash/list.html.twig index 7fd7997de3..c31370fcec 100644 --- a/src/bundle/Resources/views/themes/admin/trash/list.html.twig +++ b/src/bundle/Resources/views/themes/admin/trash/list.html.twig @@ -25,12 +25,37 @@ {% block content %} {% set trash_search_params = app.request.get('trash_search') %} + {% set creator = form_search.vars.data ? form_search.vars.data.creator : '' %} + {% set creator_exists = creator is not empty %} + + {% set creatorSearch %} +
+ +
+
+ + +
+ +
+
+ {% endset %}
{% set collapsible_items = [ - form_row(form_search.content_name, { - 'attr': {'class': 'ibexa-trash-search-form__item'} - }), + creatorSearch, form_row(form_search.content_type, { 'attr': {'class': 'ibexa-trash-search-form__item ibexa-trash-search-form__item--auto-send'} }), @@ -58,28 +83,7 @@ {% trans_default_domain 'ibexa_trash' %} {% block static_left_input %} -
- {% set creator = form_search.vars.data ? form_search.vars.data.creator : '' %} - {% set creator_exists = creator is not empty ? true : false %} - -
- - -
- -
- + {{ form_widget(form_search.content_name) }} {{ form_widget(form_search.creator, {'attr': {'hidden': 'hidden'}}) }} {{ form_widget(form_search.sort, {'attr': {'hidden': 'hidden'}}) }} {{ form_widget(form_search.trashed_interval, {'attr': {'hidden': 'hidden'}}) }}