public function renderJavascript(FormView $view, $prototype = false)
    {
        $block = $prototype ? 'js_prototype' : 'js';

        return $this->renderer->searchAndRenderBlock($view, $block);
    }
public function renderJavascript(FormView $view, $prototype = false)
    {
        $block = $prototype ? 'js_prototype' : 'js';

        return $this->renderer->searchAndRenderBlock($view, $block);
    }
public function renderJavascript ( FormView $ view , $ prototype = false ) { $ block = $ prototype ? 'js_prototype' : 'js' ; return $ this -> renderer -> searchAndRenderBlock ( $ view , $ block ) ; }
Render Function Form Javascript

@param FormView $view
@param bool $prototype

@return string
Render Function Form Javascript