Skip to content

Commit

Permalink
Add antispam form theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Nikolaev committed Feb 4, 2020
1 parent 887ccd1 commit f20b488
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,5 @@ $ /usr/bin/env php bin/console darvin:utils:translations:title-case <pathname>
7.3.2: Rename "Sluggable entity manager" => "Sluggable manager".

7.3.3: Disable alias services compiler pass.

7.3.4: Add antispam form theme.
1 change: 1 addition & 0 deletions DependencyInjection/DarvinUtilsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public function prepend(ContainerBuilder $container): void
(new ExtensionConfigurator($container, __DIR__.'/../Resources/config/app'))->configure([
'doctrine',
'stof_doctrine_extensions',
'twig',
]);

if ($container->hasExtension('framework') || $container->hasExtension('twig')) {
Expand Down
3 changes: 3 additions & 0 deletions Resources/config/app/twig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
twig:
form_themes:
- '@DarvinUtils/fields.html.twig'

0 comments on commit f20b488

Please sign in to comment.