Hello Rafael,
Apologies. the following code indeed make the field readonly:
= f.input :oil_rate, :input_html => {:size => 15}, :readonly => true
I was confused since it did not grey it out, i.e., shade the color
grey as it does when it is disabled. But when I try to edit it, it
wouldn't let me which is precisely what I want. I guess, I can use
the css to grey it out manually?
Thanks.
Bharat