I want something really simple: I want a date_select that has
blanks (:include_blanks works fine so far), but having an empty
value in the select box on the webpage is ugly, so I want something
more informative there, like "month" or "select a month" or something.

In other words:

<select id="user_birthdate_2i" name="user[birthdate(2i)]">
<option value="">Month</option>
<option value="1">January</option>
<option value="2">February</option>
<option value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
<option value="6">June</option>
<option value="7">July</option>
<option value="8">August</option>
<option value="9">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>

How do I do that? I can't find any way to accomplish this in any
docs nor in the source, yet it seems like a really obvious thing
to want to do.


Martijn.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to