Skip to content

Commit

Permalink
Using the new template namespace syntax in the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mamazu committed Sep 27, 2022
1 parent ab7004e commit 8e40dcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/customization/factory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ To actually use it overwrite ``sylius_admin_product_create_simple`` route like b
section: admin
factory:
method: createDisabled # like here for example
template: SyliusAdminBundle:Crud:create.html.twig
template: "@SyliusAdmin/Crud/create.html.twig"
redirect: sylius_admin_product_update
vars:
subheader: sylius.ui.manage_your_product_catalog
templates:
form: SyliusAdminBundle:Product:_form.html.twig
form: "@SyliusAdmin/Product/_form.html.twig"
route:
name: sylius_admin_product_create_simple
Expand Down

0 comments on commit 8e40dcf

Please sign in to comment.