What if I would like to specify the ''id'' attribute into date_select''s select inputs? Thanks, Marco -- Marco Lazzeri - mailto:marcolz-nznwD2ikctv02BlrwmTdfg@public.gmane.org - phoneto:+393498157482
Mark Reginald James
2005-Sep-20 18:04 UTC
Re: Specifying ID for date_select''s select inputs
Marco Lazzeri wrote:> What if I would like to specify the ''id'' attribute into date_select''s > select inputs?I posted a patch for this a few days ago: http://dev.rubyonrails.org/ticket/1382 I''m looking for feedback on whether I made the right choice: name="date[month]" id="date_month" name="date[first][month]" id="date[first]_month" Note the patch is for current rails trunk. There has been another patch to the function I patch since 13.1, so the patch won''t work on this. I can make you up a patch for 13.1 if you want. -- We develop, watch us RoR, in numbers too big to ignore.