Forum: Ruby on Rails text_field uneditable

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
C4bfcc81ac9281cb905f38e97e4d4e0b?d=identicon&s=25 Shandy Nantz (snantz)
on 2007-06-29 22:54
Anyone know how to make a text fields uneditable through a helper
method? Thanks

7be4c6b8daa53bcdcced4990de162548?d=identicon&s=25 Alias (Guest)
on 2007-06-30 08:10
Just put :readonly => true
inside the text_field.
This topic is locked and can not be replied to.