Skip to content

Fix overriding the built-in form theme#1589

Merged
VincentLanglet merged 1 commit into
sonata-project:4.xfrom
1ed:fix-form-theme-merge
Feb 14, 2022
Merged

Fix overriding the built-in form theme#1589
VincentLanglet merged 1 commit into
sonata-project:4.xfrom
1ed:fix-form-theme-merge

Conversation

@1ed
Copy link
Copy Markdown
Contributor

@1ed 1ed commented Nov 27, 2021

Subject

Right now overriding the default form theme is not possible using the sonata_admin.templates.form_theme
config paramater because @SonataDoctrineORMAdmin/Form/form_admin_fields.html.twig will always be the last one
(and because it extends @SonataAdmin/Form/form_admin_fields.html.twig my theme is useless).

I am targeting this branch, because #1421.

Changelog

### Fixed
- Overrideing the built-in form and filter theme

@VincentLanglet VincentLanglet requested a review from a team November 27, 2021 11:54
@VincentLanglet
Copy link
Copy Markdown
Member

Please review @sonata-project/contributors

@VincentLanglet VincentLanglet merged commit cb3d8c8 into sonata-project:4.x Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants