How do you override the class name in the form_for helper?

Viewed 35010

I need to add some class names to my form. I'm using Rails' form_for helper to do this. I've tried adding { :class => 'classname' } to no avail.

How can I add classes to this Rails helper output?

3 Answers
Related