Unverified Commit 79a302da authored by lauriii's avatar lauriii
Browse files

Issue #3226016 by Gauravmahlawat, Libbna: Olivero: use multi-class array for...

Issue #3226016 by Gauravmahlawat, Libbna: Olivero: use multi-class array for adding multiple classes in form--search-block-form.html.twig template

(cherry picked from commit 17e8a500)
parent 5ffd6ae6
......@@ -10,6 +10,12 @@
* @see template_preprocess_form()
*/
#}
<form{{ attributes.addClass('search-form', 'search-block-form') }}>
{%
set classes = [
'search-form',
'search-block-form',
]
%}
<form{{ attributes.addClass(classes) }}>
{{ children }}
</form>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment