public function render($row = null)
    {
        if (is_null($this->layout)) {
            throw new Exception('Unable to render fieldset layout. Layout is empty.');
        }
        $attributes = array_merge([
            'controls'   => $this->controls,
            'name'       => $this->name,
            'attributes' => $this->attributes,
            'row'        => $row,
            'legend'     => $this->legend], $this->params);

        return view($this->layout)->with($attributes);
    }