{% load i18n %}

<!-- ko if: $data.search -->
<div class="col-md-4 col-lg-3">
    <select 
        class="resources" 
        data-bind="
            value: op, 
            chosen: {width: '100%', disable_search_threshold: 15},
            optionsText: 'text',
            optionsValue: 'value',
            options: [
                { text: $root.translations.like, value: '~' },
                { text: $root.translations.notLike, value: '!~' },
                { text: $root.translations.equals, value: 'eq' },
                { text: $root.translations.not, value: '!eq' },
            ],
        "
    ></select>
</div>

<div class="col-md-8 col-lg-9">
    <input 
        type="text"  
        class="form-control input-lg" 
        style="height: 36px;"
        data-bind="
            attr: {placeholder: $root.translations.name},
            textInput: searchValue
        "
    >
</div>
<!-- /ko -->