Added the ability to specify :readonly => true to f.input. Works the same as :disabled. The code is a clone of the code for :disabled.