/**
  * Sets the $this->Form object
  * We use it to get html of answer form (or empty
  * string if question is closed to new answers)
  *
  * Also in sub-class wwwAnswer we use it for
  * parsing submitted answer form
  *
  * @return object $this
  */
 protected function makeForm()
 {
     $this->Form = Answerform::factory($this->Registry);
     $this->Form->socials = SocialCheckboxes::get($this->Registry);
     return $this;
 }
 /**
  * Instantiate the $this->Form object
  * and sets the value of 'social' var
  *
  * @return object $this
  */
 protected function makeForm()
 {
     $this->Form = new \Lampcms\Forms\Askform($this->Registry);
     if (!$this->Form->isSubmitted()) {
         $this->Form->setVar('socials', SocialCheckboxes::get($this->Registry));
     }
     return $this;
 }