You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
737 B
35 lines
737 B
12 months ago
|
{#
|
||
|
/**
|
||
|
* @file
|
||
|
* Olives's 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>
|