protected function getHtmlGenerator(array $fields, $modelName, $template)
    {
        if ($this->isCollectiveTemplate($template)) {
            return new LaravelCollectiveHtml($fields, $modelName, $template);
        }

        return new StandardHtml($fields, $modelName, $template);
    }