block--search-form-block.html.twig in Zircon Profile 8
Same filename in this branch
Same filename and directory in other branches
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.twigView source
- {% extends "@classy/block/block--search-form-block.html.twig" %}
- {#
- /**
- * @file
- * 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.
- *
- * @see template_preprocess_block()
- * @see search_preprocess_block()
- *
- * @ingroup themeable
- */
- #}
- {% block content %}
- <div{{ content_attributes.addClass('content', 'container-inline') }}>
- {{ parent() }}
- </div>
- {% endblock %}