Hi. I ran into a bug on the label field helper in my views.

Here's a link to the documentation for it.
http://merbivore.com/documentation/1.0/doc/rdoc/merb-helpers-1.0/index.html?a=M001009&name=label

The documentation says I can do:
<%= label "Full Name", :for => "name" %> => <label for="name">Full
Name</label>

However this line produces:
<label>Full Name</label>

It's basically ignoring all my attributes that I pass it. So
even :class, and :id don't set the correct values on it.

I added specs that demonstrate the bug and an associated fix that
addresses it. See my commit message here:
http://github.com/jcnetdev/merb/commit/23b41f6121bde7882849a54d2d9716a6b0ddc0cc

Please take a look and my commit and add comments via github. I think
my update should resolve everything. Would be great to get this
resolved in Merb 1.0.2

Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to