{% if Search_Box %}
    {{Open_Form}}
        <div>
            {# The search label is only available in "Search entry box" modes. #}
            {% if Search_Label %}
                <label>{{"Search"|trans}}</label>
            {% endif %}

            {% if HasLanguageSelection %}
                <div class="search_area_language search_area_extra_settings">
                <label>{{"Language"|trans}}</label>
                {{this.frameworkField({
                	'type': "select",
                	'class': "input_select",
                	'name': "language_id",
                	'value': Language_Value,
                	'source_method': "getLanguagesOptions",
                	'onchange': "this.form.searchString.onkeyup()"
                })}}
                </div>
            {% endif %}

            <input
                id="{{Container_Id}}-search_input_box"
                type="text"
                class="search_input_box"
                name="searchString"

                {% if Placeholder %}
                    placeholder="{{Placeholder_Phrase|trans}}"
                {% endif %}

                value="{{Search_String}}" 
                onkeyup="zenario_advanced_search.onKeyUp('{{Container_Id}}', this, '{{Default_Tab}}', '{{Mode}}', {{Delay}}, '{{Uses_Separate_Results_Page}}');"
                autocomplete="off"
            />

			<input
				type="submit"
				class="search_entry_button"
				name="doSearch"
				value="{{'Search'|trans}}"
				{% if not Use_specific_search_results_page %}
					style="display: none;"
				{% endif %}
			/>

            {% if Mode == 'search_entry_box' or Mode == 'search_entry_box_show_always' %}
                <span
                    id = "{{Container_Id}}_close_button"
                    class="close_button"
                    onclick="zenario_advanced_search.closeButtonOnClick('{{Container_Id}}', '{{Mode}}');"
                >
                    X
                </span>
            {% endif %}

            {% if Further_Search_Link and Further_Search_Phrase %}
                <a class="further_search" href="{{Further_Search_Link|e}}">{{Further_Search_Phrase|e}}</a>
            {% endif %}
            
            {% if Show_Clear_Search_Button %}
                <input type="submit" class="search_entry_button" name="clearSearch" value="{{'Clear search'|trans}}" onclick="this.form.searchString.value = ''; this.form.searchString.onkeyup()" />
            {% endif %}
        </div>
    {{Close_Form}}
{% endif %}