I have a select_date
that I want to restrict the months that a user can select.
<%= select_date(Time.now, :order => [:month, :day, :year ], :datetime_separator => '-', :time_separator => ':', :discard_seconds => true, :discard_minutes => true, :start_month => Time.now.month, :end_month => Time.now.month +1, :start_year => Time.now.year, :end_year => Time.now.year, :prefix => 'start_date') %>
Yet, there doesn't seem to be a way to do this. You can't restrict the number of months a select_date displays. Anyone have a way around this?