Customising Symfony Admin Generator Form

Posted by Rich on Stack Overflow See other posts from Stack Overflow or by Rich
Published on 2010-06-15T08:52:55Z Indexed on 2010/06/15 9:02 UTC
Read the original article Hit count: 267

Filed under:
|
|

Hi,

I've generated the backend of my application, and am now just 'jazzing' the forms up (adding correct labels, validation rules etc).

One thing I'd like to do is add a map (Google) which updates the marker as an address is entered into the form, then allows the user to drag it to correct the lat/lng should it be a little off.

My question is, how can I customise the output of the form - I've read the docs (1.0,1.1,1.2 also) and it all seems very confusing. Customising forms not generated with the admin generator I know how to do using renderRow(); etc; but finding a way to add a little bit of HTML to the forms is making my eyes hurt! There's so much out of date stuff on the web regarding Symfony it's hard to know what to trust!

If anyone can point me in the right direction that'd be great.

Best Regards,

Rich

© Stack Overflow or respective owner

Related posts about forms

Related posts about symfony