public function searchBoxAction()
    {
        $response = new Response();

        $simpleSearch = new SimpleSearch();
        $form = $this->createForm($this->get('ezdemo.form.type.simple_search'), $simpleSearch);

        return $this->render(
            'eZDemoBundle::page_header_searchbox.html.twig',
            array(
                'form' => $form->createView(),
            ),
            $response
        );
    }
public function searchBoxAction()
    {
        $response = new Response();

        $simpleSearch = new SimpleSearch();
        $form = $this->createForm($this->get('ezdemo.form.type.simple_search'), $simpleSearch);

        return $this->render(
            'eZDemoBundle::page_header_searchbox.html.twig',
            array(
                'form' => $form->createView(),
            ),
            $response
        );
    }
public function searchBoxAction ( ) { $ response = new Response ( ) ; $ simpleSearch = new SimpleSearch ( ) ; $ form = $ this -> createForm ( $ this -> get ( 'ezdemo.form.type.simple_search' ) , $ simpleSearch ) ; return $ this -> render ( 'eZDemoBundle::page_header_searchbox.html.twig' , array ( 'form' => $ form -> createView ( ) , ) , $ response ) ; }
Displays the search box for the page header.

@return Response HTML code of the page
Displays the search box for the page header .