Commit b938bf5c authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch 'feature/ISTWCMS-4729-ebremner-search-form' into '1.0.x'

ISTWCMS-4729: adding search form to header region

See merge request !73
parents 236971c2 30e7f0bd
......@@ -12,6 +12,8 @@
* @see template_preprocess_region()
*/
#}
{% set search = drupal_form('Drupal\\uw_cfg_common\\Form\\UwSearchForm') %}
{% include '@layouts/header/header.twig' with {
'site_name': site_name,
'faculty': faculty,
......@@ -19,5 +21,6 @@
'nav_items': main_menu,
'secondary_items': secondary_menu,
'home_link': home_link,
'global_message': global_message
'global_message': global_message,
'search': search
}%}
Supports Markdown
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