{{!
    This file is part of Moodle - http://moodle.org/

    Moodle is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Moodle is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
}}
{{!
    @template theme_adaptable/headersearch

    Header search.

    Example context (json):
    {
        "pagelayout": "pagelayoutoriginal",
        "url": "http://localhost"
    }
}}
<div class="searchbox {{pagelayout}} d-none d-lg-block">
    <form action="{{{url}}}">
        <label class="hidden" for="search-1" style="display: none;">{{#str}}searchcourses, theme_adaptable{{/str}}</label>
        <div class="search-box grey-box bg-white clear-fix">
            <input placeholder="{{#str}}searchcourses, theme_adaptable{{/str}}" accesskey="6" class="search_tour bg-white no-border left search-box__input ui-autocomplete-input" type="text" name="search" id="search-1" autocomplete="off">
            <button title="{{#str}}searchcourses, theme_adaptable{{/str}}" type="submit" class="no-border bg-white pas search-box__button">
                <abbr class="fa fa-search" title="{{#str}}searchcourses, theme_adaptable{{/str}}"></abbr>
            </button>
        </div>
    </form>
</div>
