diff --git a/bl-kernel/admin/themes/booty/init.php b/bl-kernel/admin/themes/booty/init.php index 095cef36..00a3463a 100644 --- a/bl-kernel/admin/themes/booty/init.php +++ b/bl-kernel/admin/themes/booty/init.php @@ -264,7 +264,7 @@ EOF; { $labelForCheckbox = isset($args['labelForCheckbox'])?$args['labelForCheckbox']:''; $placeholder = isset($args['placeholder'])?$args['placeholder']:''; - $tip = isset($args['tip'])?$args['tip']:' '; + $tip = isset($args['tip'])?''.$args['tip'].'':''; $value = isset($args['value'])?$args['value']:''; $name = $args['name']; $id = 'js'.$name; @@ -273,7 +273,7 @@ EOF; } $disabled = isset($args['disabled'])?'disabled':''; - $class = 'form-group'; + $class = 'form-group m-0'; if (isset($args['class'])) { $class = $class.' '.$args['class']; } @@ -289,14 +289,15 @@ EOF; } $checked = $args['checked']?'checked':''; + $value = $checked?'1':'0'; return << $label
- + - $tip + $tip
EOF; diff --git a/bl-kernel/admin/views/edit-content.php b/bl-kernel/admin/views/edit-content.php index 20bdfca1..0f9419b1 100644 --- a/bl-kernel/admin/views/edit-content.php +++ b/bl-kernel/admin/views/edit-content.php @@ -89,7 +89,7 @@ echo Bootstrap::formOpen(array( - customFields()!="{}"): ?> + customFields())): ?>