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:
novafacile OÜ 2018-11-01 20:20:04 +01:00 committed by GitHub
parent 4efa64ec0c
commit ee21315294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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';