Skip to content

[TwigBundle] [Form] Problem with twig warmer and form templates #21322

@twoleds

Description

@twoleds
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.2.*

Twig warmer doesn't warm up templates for the form component. We use read-only file system on production and we have problem with the missing templates.

The form templates are in non-standard path: src/Symfony/Bridge/Twig/Resources/views/Form

bootstrap_3_horizontal_layout.html.twig
bootstrap_3_layout.html.twig
form_div_layout.html.twig
form_table_layout.html.twig
foundation_5_layout.html.twig

I try fix it somehow but I need some code review or discussion about it: master...twoleds:twig-form-warming

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions