public function generatePluginHtml(array $element, $configContext)
    {
        if ($element['i18n'] && $configContext !== self::TYPE_LIST) {

            return $this->view->render('_crudform_i18n_pluginhtml', [
                'element' => $element,
                'configContext' => $configContext,
                'languages' => Lang::getQuery(),
                'helpButtonHtml' => $this->createFieldHelpButton($element, $configContext),
            ]);
        }   

        $ngModel = $this->ngModelString($configContext, $element['name']);

        return $this->createFieldHelpButton($element, $configContext) . 
            $this->renderElementPlugins($configContext, $element['type'], Inflector::slug($ngModel), $element['name'], $ngModel, $element['alias'], false);
    }