On Sep 8, 2006, at 3:45 PM, Evin wrote:
> > >> S**t!! this is scaaary...You just read my mind! (no joke) :D >> Since revision 1855 (SVN) which I comitted about an hour ago I just >> implemented this . If you dare to: >> >> $ svn co http://www.turbogears.org/svn/turbogears/branches/1.0 >> turbogears >> $ cd turbogears >> $ sudo python setup.py develop >> >> (on unix) >> >> you can now do: >> >> field_for('user_password').help_text >> field_for('user_password').label >> field_for('user_password').fq_name >> this one is to get the fully-qualified name that the widget will >> render (this makes sense when you have nested fieldsets or repeating >> fieldsets) >> field_for('user_password').error (equivalent to error_for >> ('user_password')) >> or even (if you really enjoy typing): >> field_for('user_password').display( >> value_for('user_password'), **params_for('user_password') >> ) >> >> from within your forms and fieldsets templates to get complete >> control over the layout. Even for the help_text and label. >> >> Alberto > > Is this in the 1.0b1 version or do i have to be brave and go after the > dev version? You're lucky, It barely made it into 1.0b1 :) Alberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

