|
|
@ -177,7 +177,7 @@ function form_checkbox($name, $label, $selected, $value = 'checked', $html_id =
|
|
|
|
$html_id = $name;
|
|
|
|
$html_id = $name;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return '<div class="checkbox"><label>'
|
|
|
|
return '<div class="checkbox mb-3"><label>'
|
|
|
|
. '<input type="checkbox" id="' . $html_id . '" name="' . $name . '" value="' . htmlspecialchars((string)$value) . '" '
|
|
|
|
. '<input type="checkbox" id="' . $html_id . '" name="' . $name . '" value="' . htmlspecialchars((string)$value) . '" '
|
|
|
|
. ($selected ? ' checked="checked"' : '') . ' /> '
|
|
|
|
. ($selected ? ' checked="checked"' : '') . ' /> '
|
|
|
|
. $label
|
|
|
|
. $label
|
|
|
|