[Ruby] ruby on rails, formatting check_box

shane becker veganstraightedge at gmail.com
Thu Aug 2 00:42:34 PDT 2007


> I could bind it to the class name, but I don't know how to cause  
> the <%= checkbox %> to have a particular class name.

amy hoy has some good rails newbie articles on her site. the form  
helper one deals with some of your particular issues.
http://slash7.com/articles/2005/7/21/a-little-form-help-from-your- 
friends

and actually, jordan just posted what i was gonna say. either way,  
check out amy's site. it's good.

-shaners


ps. don't top post. respond inline and snip out what you're not  
responding to. :)
http://en.wikipedia.org/wiki/Top_post#Top-posting


More information about the Ruby mailing list