I would like to customize the rendering of a form field in the edit page from sonata admin bundle to include an applet that uses the text content of a field.
I know that I have to edit the configureFormFields
function in the admin class, but I need to know 3 things:
- What is the syntax to provide a field form template
- Where to put the template file ( which directory )
- What the template have to looks like.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…