You are here

block--search-form-block.html.twig in Zircon Profile 8

Bartik's theme implementation for a search form block. Extends Classy's search form block template.

Available variables:

  • content: The content of this block.
  • content_attributes: A list of HTML attributes applied to the main content tag that appears in the template.

File

core/themes/bartik/templates/block--search-form-block.html.twig
View source
  1. {% extends "@classy/block/block--search-form-block.html.twig" %}
  2. {#
  3. /**
  4. * @file
  5. * Bartik's theme implementation for a search form block. Extends Classy's
  6. * search form block template.
  7. *
  8. * Available variables:
  9. * - content: The content of this block.
  10. * - content_attributes: A list of HTML attributes applied to the main content
  11. * tag that appears in the template.
  12. *
  13. * @see template_preprocess_block()
  14. * @see search_preprocess_block()
  15. *
  16. * @ingroup themeable
  17. */
  18. #}
  19. {% block content %}
  20. <div{{ content_attributes.addClass('content', 'container-inline') }}>
  21. {{ parent() }}
  22. </div>
  23. {% endblock %}

Related topics