templates/blog/search.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block javascripts %}
  3.     {{ parent() }}
  4.     {{ encore_entry_script_tags('js/search') }}
  5. {% endblock %}
  6. {% block body_id 'blog_search' %}
  7. {% block main %}
  8.     <form action="{{ path('blog_search') }}" method="get">
  9.         <div class="form-group">
  10.             <input name="q"
  11.                    class="form-control search-field"
  12.                    placeholder="{{ 'post.search_for'|trans }}"
  13.                    autocomplete="off"
  14.                    autofocus
  15.                    data-no-results-message="{{ 'post.search_no_results'|trans }}"
  16.             >
  17.         </div>
  18.     </form>
  19.     <div id="results">
  20.     </div>
  21. {% endblock %}
  22. {% block sidebar %}
  23.     {{ parent() }}
  24.     {{ show_source_code(_self) }}
  25. {% endblock %}