protected function RenderCheckbox($name)
    {
        $checkbox = new Checkbox($this->namePrefix . $name);
        $class = new \ReflectionClass($this);
        $checkbox->SetLabel(Trans('Core.' . $class->getShortName() . '.' . $name));
        if ($this->Value($name))
        {
            $checkbox->SetChecked();
        }
        $field = new CheckboxField($checkbox);
        return $field->Render();
    }