public function radios($name, $options = array(), $selected = null, $attributes = array(), $hasErrors = false)
    {
        $selected = $this->getValueAttribute($name, $selected);

        $defaultTemplate = in_array('inline', $attributes)
            ? 'forms.radios-inline'
            : 'forms.radios';

        $template = isset($attributes['template'])
            ? $attributes['template']
            : null;

        $radios = [];

        foreach ($options as $value => $label) {
            $radios[] = [
                'name'     => $name,
                'value'    => $value,
                'label'    => $label,
                'selected' => $selected == $value,
                'id'       => $name.'_'.Str::slug($value),
            ];
        }

        unset ($attributes['inline'], $attributes['template']);

        return $this->theme->render(
            $template,
            compact('name', 'radios', 'attributes', 'hasErrors'),
            $defaultTemplate
        );
    }