Prompt for date_select()?

Is there a way to add a prompt(s) for the dropdowns generated by
date_select? Shooting in the dark, I tried using :prompt => true with
no result.

Thanks.

How about an html label element?

Date:

The date_select methods only gives you the html element.

Kyle

On May 21, 7:18 pm, Kyle B. [email protected] wrote:

Is there a way to add a prompt(s) for the dropdowns generated by
date_select? Shooting in the dark, I tried using :prompt => true with
no result.

Actually, I don’t think I clearly expressed my question. I meant
having the dropdown itself (not a label) display a prompt similar to:

<%= f.collection_select :id,
@vehicle_types, :id, :vehichle_type, :prompt => “Select Vehicle” %>

or simply

:prompt => true

to display “Select.” The date_select() method is very useful, but I
can’t see a way to use :prompt as in other select methods. Thanks.