search for: editable_text_area

Displaying 1 result from an estimated 1 matches for "editable_text_area".

2007 Aug 02
0
Overridding readonly attribute in custom form builder
Hi, I''ve created a custom form builder and overridden text_area so that all fields are readonly. There are a few instances that I would want an editable text_area, so I have tried to create an editable_text_area method. I have tried passing text_area(method, options.merge(:readonly=>false)) to the method, but it doesn''t work: the area is still not editable. Any suggestions on how to override the readonly value in my editable method? class ReadOnlyFormBuilder < ActionView::Helpers::FormB...