No sooner had I asked than I found it. You have to set the empty_label option.
$this->embedRelation('MyPropelModel',array('empty_label'=>' My New Label')); Useful: link about it here. http://trac.symfony-project.org/browser/plugins/sfPropel15Plugin/trunk/doc/form.txt On Jul 20, 1:00 pm, Tofuwarrior <p...@clearintent.co.uk> wrote: > Thanks for these answers but this doesn't seem to work for changing > the NEwPropelUglyName link. > > It is obviously something to do with embedRelation but I can't see > what. > It works fine with normal form elements but this is not the name of an > element as much as the name of a form? > > Any help really gratefully received. It looks awful in the project and > ius such a small thing I'm going nuts. > > Cheers, > > Paul > > On May 28, 4:58 am, Eno <symb...@gmail.com> wrote: > > > On Thu, 27 May 2010,Tofuwarriorwrote: > > > I have successfully useembedRelationto embed a relation in my form > > > BUT the new link at the bottom has a label next to it that says > > > NewUglyLongPropelObjectName . > > > > How can I change this, I haven't set any new link anywhere so I'm not > > > sure how to change this. > > >http://www.symfony-project.org/forms/1_2/en/A-Widgets#chapter_a_sub_s... > > > -- -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en