you had a problem with

var label = Builder.node('label', { for: 'id_of_an_input' });

? try:

var label = Builder.node('label', { 'for': 'id_of_an_input' });

hth

On 7/25/06, Andreas Wahlin <[EMAIL PROTECTED]> wrote:
I've googled a bit, but haven't come up with anything. It seems the
Builder.node chokes on the for attribute when building label tags.
Probably because of the keyword for when looping through the arguments.
Is this a known problem? I wrote my own patch that seems to solve it
(substituting labelFor instead of for) but an official solution would
be nice.

Andreas
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs



--
Mit freundlichen Grüßen

Siegfried Puchbauer
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to