';
@@ -213,22 +213,10 @@ public static function radioBooleanList($name, $value = '', $options = [])
$html = '';
$id = $options['id'] ?? $name;
- // Display label if hide_label is not set or empty
- if (empty($options['hide_label'])) {
- $html .= '
';
- $labelText = $options['label_text'] ?? Text::_('JGLOBAL_YES');
- $html .= self::label($labelText, $options);
- }
-
// Use HTMLHelper to generate the boolean list with localized labels for yes/no
$attribs = [];
$html .= HTMLHelper::_('select.booleanlist', $name, $attribs, $value, Text::_('JYES'), Text::_('JNO'), $id);
- // Close the control group div if label is displayed
- if (empty($options['hide_label'])) {
- $html .= '