bugfix label text for admin interface
On formInputText it didn't show the label name, because of missing quotes and wrong var name
This commit is contained in:
parent
4efa64ec0c
commit
ee21315294
|
@ -262,7 +262,7 @@ EOF;
|
||||||
|
|
||||||
$label = '';
|
$label = '';
|
||||||
if (isset($args['label'])) {
|
if (isset($args['label'])) {
|
||||||
$label = '<label for="$id" class="col-sm-2 col-form-label">$label</label>';
|
$label = '<label for="'.$id.'" class="col-sm-2 col-form-label">'.$args['label'].'</label>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$class = 'form-control';
|
$class = 'form-control';
|
||||||
|
|
Loading…
Reference in New Issue