original_string: public function render_assign_form(assign_form $form) {
          $o = '';
          if ($form->jsinitfunction) {
              $this->page->requires->js_init_call($form->jsinitfunction, array());
          }
          $o .= $this->output->box_start('boxaligncenter ' . $form->classname);
          $o .= $this->moodleform($form->form);
          $o .= $this->output->box_end();
          return $o;
      }
code: public function render_assign_form(assign_form $form) {
          $o = '';
          if ($form->jsinitfunction) {
              $this->page->requires->js_init_call($form->jsinitfunction, array());
          }
          $o .= $this->output->box_start('boxaligncenter ' . $form->classname);
          $o .= $this->moodleform($form->form);
          $o .= $this->output->box_end();
          return $o;
      }
code_tokens: public function render_assign_form ( assign_form $ form ) { $ o = '' ; if ( $ form -> jsinitfunction ) { $ this -> page -> requires -> js_init_call ( $ form -> jsinitfunction , array ( ) ) ; } $ o .= $ this -> output -> box_start ( 'boxaligncenter ' . $ form -> classname ) ; $ o .= $ this -> moodleform ( $ form -> form ) ; $ o .= $ this -> output -> box_end ( ) ; return $ o ; }
docstring: Render the generic form
  @param assign_form $form The form to render
  @return string
docstring_tokens: Render the generic form