templates/includes/form_elements/input-group-search.html.twig line 1

Open in your IDE?
  1. {% set name = name|default('q') %}
  2. {% set value = value|default(app.request.get(name)) %}
  3. <div class="input-group input-group--search shadow">
  4.     <span class="icon icon-search" aria-hidden="true"></span>
  5.     <input type="text" name="{{ name }}" id="search" class="form-control box-shadow-none" value="{{ value }}" placeholder="{{ 'global.filter.searchTerm'|trans }}" aria-label="{{ 'global.filter.searchTerm'|trans }}" aria-describedby="searchSubmit">
  6.     <button class="btn btn-no-styling" type="submit" id="searchSubmit">{{ 'global.filter.search'|trans }}</button>
  7. </div>