Good day everyone!
I faced a strange problem implementing embedded form:
1) I created a custom entity
2) I created a form that implements EmbeddedFormInterface for this entity
3) I registered form as a service and tagged it with oro_embedded_form
4) I created default.yml in src\Acme\TestBundle\Resources\views\layouts\embedded_default\oro_embedded_form_submit\default.yml via following content:YAML123456789layout:actions:- '@setBlockTheme':themes: 'AcmeTestBundle:layouts:embedded_default/oro_embedded_form_submit/form.html.twig'conditions:'@eq':- $context.embedded_form_type- 'acme.my_custom_entity.form'
In fact i did everything like in Oro’s ContactUs bundle. The only thing i skipped is a Rest controller for my entity
So my new embedded form was created and available at ‘create embedded form’ page.
But when i preview this form i see that it doesnt wrapped in <form> tag. So the submit button doesnt do anything.
What did i miss?
Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
You must be logged in to reply to this topic.