protected function _getSelectForm()
    {
        $form = new \Gems_Form(array('name' => 'autosubmit', 'class' => 'form-inline', 'role' => 'form'));

        $form->setHtml('div');
        $div = $form->getHtml();
        $div->class = 'search';

        $span = $div->div(array('class' => 'panel panel-default'))->div(array('class' => 'inputgroup panel-body'));

        $element = $form->createElement('select', 'gpa_level', array(
            'multiOptions' => $this->patchLevels,
            'onchange' => 'this.form.submit();',
            'onkeyup' => 'this.form.submit();',
            ));

        $element->setValue($this->getPatchLevel());
        $span->input($element);

        $form->addElement($element);

        $submit = $form->createElement('submit', 'search', array(
            'label' => $this->_('Search'),
            'class' => 'button small',
            ));

        $span->input($submit);
        $form->addElement($submit);

        return $form;
    }
protected function _getSelectForm()
    {
        $form = new \Gems_Form(array('name' => 'autosubmit', 'class' => 'form-inline', 'role' => 'form'));

        $form->setHtml('div');
        $div = $form->getHtml();
        $div->class = 'search';

        $span = $div->div(array('class' => 'panel panel-default'))->div(array('class' => 'inputgroup panel-body'));

        $element = $form->createElement('select', 'gpa_level', array(
            'multiOptions' => $this->patchLevels,
            'onchange' => 'this.form.submit();',
            'onkeyup' => 'this.form.submit();',
            ));

        $element->setValue($this->getPatchLevel());
        $span->input($element);

        $form->addElement($element);

        $submit = $form->createElement('submit', 'search', array(
            'label' => $this->_('Search'),
            'class' => 'button small',
            ));

        $span->input($submit);
        $form->addElement($submit);

        return $form;
    }
protected function _getSelectForm ( ) { $ form = new \ Gems_Form ( array ( 'name' => 'autosubmit' , 'class' => 'form-inline' , 'role' => 'form' ) ) ; $ form -> setHtml ( 'div' ) ; $ div = $ form -> getHtml ( ) ; $ div -> class = 'search' ; $ span = $ div -> div ( array ( 'class' => 'panel panel-default' ) ) -> div ( array ( 'class' => 'inputgroup panel-body' ) ) ; $ element = $ form -> createElement ( 'select' , 'gpa_level' , array ( 'multiOptions' => $ this -> patchLevels , 'onchange' => 'this.form.submit();' , 'onkeyup' => 'this.form.submit();' , ) ) ; $ element -> setValue ( $ this -> getPatchLevel ( ) ) ; $ span -> input ( $ element ) ; $ form -> addElement ( $ element ) ; $ submit = $ form -> createElement ( 'submit' , 'search' , array ( 'label' => $ this -> _ ( 'Search' ) , 'class' => 'button small' , ) ) ; $ span -> input ( $ submit ) ; $ form -> addElement ( $ submit ) ; return $ form ; }
The form for selecting the patch level

@return \Gems_Form
The form for selecting the patch level