public function settingsHtml()
    {
        Craft::$app->view->registerAssetBundle(PatrolPluginAssetBundle::class);

        /**
         * @var SettingsModel $settings
         */
        $settings  = $this->getSettings();
        $variables = [
            'plugin'       => $this,
            'settings'     => $settings,
            'settingsJson' => $settings->getJsonObject(),
        ];

        $html = Craft::$app->view->renderTemplate('patrol/_settings', $variables);

        return Template::raw($html);
    }