diff --git a/src/Forms/BaseForm.php b/src/Forms/BaseForm.php index e0724d6..1cdbe9c 100644 --- a/src/Forms/BaseForm.php +++ b/src/Forms/BaseForm.php @@ -34,13 +34,14 @@ class BaseForm { $this->type='text'; $this->required=0; $this->field=new CharField(); + $this->comment_form=''; $this->txt_error = I18n::lang('common', 'error_in_field', 'Error in field'); } public function form() { - return ''; + return ' '.$this->comment_form; } @@ -95,4 +96,4 @@ class BaseForm { } } -?> \ No newline at end of file +?>