sss
This commit is contained in:
@ -39,7 +39,12 @@ class TextInput extends BaseInput
|
||||
$label = "";
|
||||
$input = "<input name='$this->name' $paramsString >";
|
||||
if($this->hasLabel == true) {
|
||||
$label = "<label>$this->labelTitle</label>";
|
||||
if(is_string($this->label)){
|
||||
$label = "<label>$this->labelTitle</label>";
|
||||
}
|
||||
else {
|
||||
$label = $this->create()->fetch();
|
||||
}
|
||||
}
|
||||
|
||||
$this->html = str_replace('{input}', $input, $this->inputTemplate->getInputTemplate());
|
||||
|
Reference in New Issue
Block a user