protected function renderForm($formContent)
    {
        $formContentWithAdditionalElements = $formContent .
            $this->renderHiddenFields() . $this->renderSubmitButton($this->translate('run_all_tests'));

        $formContentWithinParagraph = $this->renderTag('p', [], $formContentWithAdditionalElements);

        return $this->renderTag(
            'form',
            [
                'action' => $this->action,
                'method' => 'post',
            ],
            $formContentWithinParagraph
        );
    }
protected function renderForm($formContent)
    {
        $formContentWithAdditionalElements = $formContent .
            $this->renderHiddenFields() . $this->renderSubmitButton($this->translate('run_all_tests'));

        $formContentWithinParagraph = $this->renderTag('p', [], $formContentWithAdditionalElements);

        return $this->renderTag(
            'form',
            [
                'action' => $this->action,
                'method' => 'post',
            ],
            $formContentWithinParagraph
        );
    }
protected function renderForm ( $ formContent ) { $ formContentWithAdditionalElements = $ formContent . $ this -> renderHiddenFields ( ) . $ this -> renderSubmitButton ( $ this -> translate ( 'run_all_tests' ) ) ; $ formContentWithinParagraph = $ this -> renderTag ( 'p' , [ ] , $ formContentWithAdditionalElements ) ; return $ this -> renderTag ( 'form' , [ 'action' => $ this -> action , 'method' => 'post' , ] , $ formContentWithinParagraph ) ; }
Renders the form with submit button around some content.

@param string $formContent

@return string the final form
Renders the form with submit button around some content .