-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question : How to use the form-theme only for the admin part ? #39
Comments
You can override the default theme in twig template. So create a base.html.twig which extends all your twig template in front and use the |
Hi @ThatCheck thx for your reply. For now I have used your solution : Overrided the AvanzuAdminThemeBundle:base-layout.html.twig and added (yeah, because if no form var is setted like in the dashboard, there is an error) but I am asking myself isf there is no more efficient solution. |
you should be able to override the form theme by referencing mulitple templates in order of priority. |
@numerogeek the issue is resolved and replied to you or you still need more info about this? Please let me know for keep open or close it. Thanks! |
Add some documentation about, since no reply or more comments, I gonna close this issue. Reopen if you still need some clarification, thanks! |
Hi guys,
I am using this bundle to add an admin part to my app, which have its own form theme for the front end.
This bundle provide an other form-theme, but how to use it only in the admin part ?
I'd like to avoid override my front end form theme.
The text was updated successfully, but these errors were encountered: