public function display($content, $options = [])
    {
        $formData = $this->_defaultData($content);
        $view = !empty($options['view']) ? $options['view'] : $formData->template;
        return FormWrap::view($this->_block, $options, $this->displayView($view), ['form_data' => $formData]);
    }
public function display($content, $options = [])
    {
        $formData = $this->_defaultData($content);
        $view = !empty($options['view']) ? $options['view'] : $formData->template;
        return FormWrap::view($this->_block, $options, $this->displayView($view), ['form_data' => $formData]);
    }
public function display ( $ content , $ options = [ ] ) { $ formData = $ this -> _defaultData ( $ content ) ; $ view = ! empty ( $ options [ 'view' ] ) ? $ options [ 'view' ] : $ formData -> template ; return FormWrap :: view ( $ this -> _block , $ options , $ this -> displayView ( $ view ) , [ 'form_data' => $ formData ] ) ; }
Display form view
@param string $content
@param array $options
@return string
Display form view