Re: Should ActionView's label tag helper be extended to accept a _complementary_ content block ?

8 views
Skip to first unread message

Frederick Cheung

unread,
Jan 22, 2013, 6:37:06 AM1/22/13
to rubyonra...@googlegroups.com


On Monday, January 21, 2013 11:42:29 PM UTC, Luis Reis wrote:

Currently using a method (:password) is mutually exclusive with supplying a block.

You sure ? It's documented as allowing that and a 2 second test on one of my apps seemed to work

Fred

 
So, in other words, if I submit a patch to do this, would it be accepted ?

Another alternative would be to have a label_content helper returning the calculated content.

Thanks,
Cheers,
Luis Reis
Reply all
Reply to author
Forward
0 new messages