seeds_tailwind-1.0.x-dev/templates/block/block--search-form-block.html.twig
templates/block/block--search-form-block.html.twig
{#
/**
* @file
* seedsTailwind theme implementation for a search form block.
*
* 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
*/
#}
{%
set classes = [
'block',
'block-search',
]
%}
<div{{attributes.addClass(classes)}}>
{{ title_prefix }}
{% if label %}
<h2{{title_attributes}}>{{ label }}</h2>
{% endif %}
{{ title_suffix }}
{% block content %}
<div{{content_attributes.addClass('content','container-inline')}}>
{{ content }}
</div>
{% endblock %}
</div>
