-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Use table_layout gives error #1182
Comments
You can find a cookbook article @ http://symfony.com/doc/current/cookbook/form/twig_form_customization.html |
Ok, that does work, thanks. Still, I feel the error is somewhat out of place, as "use"-ing div_layout works fine. And apart from that the error handling seems to be faulty here |
A template is not traitable if it extends another one. The table layout extends the div layout so it does not work. |
The error message handling has been fixed (fabpot/Twig@3cf3573 and fabpot/Twig@7e45720). |
Nice. The template error was just me not reading the docs well, so we can close this one :) |
Nice, 6737bd3 makes both methods possible |
The twig template below gives me an error:
using div_layout.html.twig instead works fine.
As a plus, instead of a nice error, I get:
Stack Trace
Logs +-
1 error
The text was updated successfully, but these errors were encountered: