Unverified Commit b06d950f authored by Lauri Timmanee's avatar Lauri Timmanee
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)
(cherry picked from commit 79a302da)
parent d781860b
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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>