Ronald Jaramillo wrote:
> The could be extended to check if your model column has a title
> attribute and a default value:
>       return widgets.TextField(name=column.name,label=(column.title or
> column.name), default=column.default)

I like it.  I've opened a ticket and put up a patch.

http://trac.turbogears.org/turbogears/ticket/254

I think datacontroller is going to need to be modified to use the
widget label for column titles rather than the capitalized sqlobject
column name.  But that's for later.

Gary Godfrey
Austin, TX, USA

Reply via email to