Skip to content
Snippets Groups Projects
Commit 30e7f0bd authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-4729: adding search form to header region

parent 236971c2
No related branches found
No related tags found
1 merge request!73ISTWCMS-4729: adding search form to header region
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
* @see template_preprocess_region() * @see template_preprocess_region()
*/ */
#} #}
{% set search = drupal_form('Drupal\\uw_cfg_common\\Form\\UwSearchForm') %}
{% include '@layouts/header/header.twig' with { {% include '@layouts/header/header.twig' with {
'site_name': site_name, 'site_name': site_name,
'faculty': faculty, 'faculty': faculty,
...@@ -19,5 +21,6 @@ ...@@ -19,5 +21,6 @@
'nav_items': main_menu, 'nav_items': main_menu,
'secondary_items': secondary_menu, 'secondary_items': secondary_menu,
'home_link': home_link, 'home_link': home_link,
'global_message': global_message 'global_message': global_message,
'search': search
}%} }%}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment