code: public function render(InputFilter $inputFilter)
      {
          $inputFilter->prepare(); // ensure it is prepare
          $props = $inputFilter->getAttributes();
          $treeBuilder = new TreeBuilder($inputFilter);
          $props = array_merge($props, $treeBuilder->getTree());
  
          return $this->make('widget-form', $props);
      }
docs: Renders a complete InputFilter object into a form
  @param InputFilter $inputFilter
  @return \Sirius\Html\Tag|string