I have an .erb file with form template that uses form_for
helper to generate form, and some of their fields generated with text_field
method. In resulting HTML I see size
properties are added to every input generated with aforementioned method.
I want to control input sizes with CSS and that size
property prevents me from doing it. Is there any way to tell text_field
method that I don't want them?
I tried to pass :size => nil
as option to that method, but that didn't help.