extract search form and create link to an external shared partial , add necessary css classes