{{!
    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 block_settings/search_form

    This template renders the search form.

    Example context (json):
    {
        "action": "https://domain.example/admin/search.php",
        "label": "Search in settings",
        "searchvalue": "Find this setting",
        "quote": "Search"
    }
}}
<div class="col-12 row no-gutters">
  <form method="get" action="{{action}}" class="adminsearchform row" role="search">
      <div class="col-8 pl-0 pr-0">
          <label class="sr-only" for="adminsearchquery">{{label}}</label>
          <input class="form-control" type="text" name="query" value="{{searchvalue}}" id="adminsearchquery" size="10">
      </div>
      <button type="submit" class="col-4 btn btn-secondary"><i class="icon fas fa-search mr-0 ml-0"></i></button>
  </form>
</div>
