public function form($formname = null)
 {
     $formname = is_null($formname) && count(array_keys($this->form)) ? array_shift(array_keys($this->form)) : $formname;
     $this->currentform = $formname;
     if (!is_null($formname)) {
         $html_path = $this->router->get_route() . '\\' . substr($this->form[$formname]->view, 0, strrpos($this->form[$formname]->view, '.'));
         $formhtml = '';
         if (!\runner::config('silent')) {
             $formhtml .= '<!--Routerunner::Route(' . $html_path . ')//-->' . PHP_EOL;
         }
         $formhtml .= \Routerunner\Routerunner::$slim->render($this->path . $this->route . $this->versionroute . DIRECTORY_SEPARATOR . $this->form[$formname]->view, array('runner' => $this));
         $formhtml .= $this->plugins("form.min.js");
         if ($this->i18n) {
             $formhtml = str_replace(array_keys($this->i18n), array_values($this->i18n), $formhtml);
         }
         return \Routerunner\Routerunner::process($this, $formhtml);
     }
 }