diff --git a/src/Resources/views/Form/fields.html.twig b/src/Resources/views/Form/fields.html.twig index 416c079fc..025a3845f 100644 --- a/src/Resources/views/Form/fields.html.twig +++ b/src/Resources/views/Form/fields.html.twig @@ -55,7 +55,3 @@ {% endif %} {% endblock collection_widget %} - -{% block collection_item_widget %} - lo ? -{% endblock collection_item_widget %} diff --git a/src/Utils/TranslationUtils.php b/src/Utils/TranslationUtils.php index 9f06f55b1..59d4e6b61 100644 --- a/src/Utils/TranslationUtils.php +++ b/src/Utils/TranslationUtils.php @@ -2,8 +2,6 @@ namespace LAG\AdminBundle\Utils; -use LAG\Component\StringUtils\StringUtils; - class TranslationUtils { /** @@ -14,7 +12,6 @@ public static function getTranslationKey( string $adminName, string $key ): string { - $key = StringUtils::underscore($key); $translationPattern = str_replace('{key}', $key, $translationPattern); $translationPattern = str_replace('{admin}', $adminName, $translationPattern);