Forum: Ruby on Rails FormBuilder help

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
A601ce8bc71d3c358544f7dbcb464251?d=identicon&s=25 gmarik (Guest)
on 2007-01-27 02:35
(Received via mailing list)
I'm new to Ruby and Rails!

I'm trying to create my custom FormBuilder(similar to
LabelledFormBuilder you can find

But the problem is to get proper ID(same as field has) for lablel's
"for" attribute.
And i think that stripping generated id from string isn' a proper way
to go...

Is there more elegant solution?

This topic is locked and can not be replied to.