Some Rails form helpers allow us to easily put select fields for a date input. The thing here is that individual date fields, day-month-year, come separated by default. From a UI perspective, this can be awkward.
Is it possible to put, say, month and year each in only one option, as such:
<select>
<option value="01/05/2012">May - 2012</option>
<option value="01/06/2012">Jun - 2012</option>
...
<option value="01/04/2013">Apr - 2013</option>
</select>
While it is definitely possible to do by hand, can we make use of the DateHelper
s, eg select_month
or date_select
and all their magic to do this?