[Rails] Re: DEFAULT_FIELD_OPTIONS
On Feb 5, 8:09 pm, jh744 <jhamil...@pobox.com> wrote:
> All,
>
> I have spent the last 6hrs trying to change the default, size="30",
> that is returned as a result of f.text_field... helper call. I wanted
> the default width to be '16' for my application.
>
> This modification affects the value stored in
> ActionView::Helpers::InstanceTag::DEFAULT_FIELD_OPTIONS["size"] but
> not the results of f.text_field.
>
Looking at the source, it would appear that the existing
DEFAULT_FIELD_OPTIONS is in ActionView::Helpers::InstanceTagMethods
not ActionView::Helpers::InstanceTag (or was the above a typo?)
Fred
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home