From fec11728d22f2fd6e23adde7083641c48dda30ab Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Wed, 14 Sep 2016 05:47:23 +0200 Subject: [PATCH] Added comment form --- src/Forms/BaseForm.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 +?>