On Feb 9, 8:06 pm, Wes Gamble <[email protected]>
wrote:
> All,
>
> Is there any built-in way in the "select" form helper to display
> something other than "Select" in the :include_blank option?
> Specifically, for a date helper, would like to show "Month", "Day",
> "Year" respectively for those options in 3 selects.
>
If the :include_blank option is a string then that is used for the
blank option. There's also the :prompt option. I do recall that
support of this with the date_select stuff was only added recently.
Fred
> Thanks,
> Wes
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---