-
Notifications
You must be signed in to change notification settings - Fork 120
Filter-date-range labels for left_date and right_date widgets #84
Comments
Do you have add your templating in twig configuration in
|
My config looks like this:
|
Maybe it's troubleshooting with TwigBundle i haven't try with the same configuration, Ok the FrameworkBundle search in app/Resources then in inherit bundle, then in the bundle. But maybe TwigBundle don't !? In my case i have inherit the FormFilterBundle
And i have extends the original template in
And i put both template of both Bundle in Twig configuration
Can you try something like that ? |
Ok, i found working solution: I created new twig file
which doesn't extend anything but have only customized block code:
and included this file in my config:
@L0rD59 thanks for pointing me to correct solution |
Can you close this issue please ? Thx, and good road |
Ok, closing and thanks. |
Is there any way to customize those labels?
I tried to override whole template file "form_div_layout.html" by copying source file and paste it in app/Resources/LexikFormFilterBundle/views/Form/form_div_layout.html and then add my own theme for filter_date_range_widget but this is not working - bundle is still using source file. Clearing the cache did not help :(
Also I tried adding label in filter type like this:
but this is not working.
The text was updated successfully, but these errors were encountered: