Displaying 3 results from an estimated 3 matches for "select_".
Did you mean:
select
2006 Jul 02
1
DRY? Why select_date and select_date?
Why select_date and select_date?
I dont understand why having both (backward compat?).
I also look that their source are different, one use the InstanceTag
and others calls 3 select_(year, month, day) functions.
2005 Aug 15
1
html_options for select_date
As far as I can tell, it''s not possible to use html_options in
conjunction with the select_* helpers.
This means using them in conjunction with observe_field etc is pretty
much impossible.
Does anyone have a patch to add this functionality, or know of a workaround?
I''m having a look at the moment, but not sure how to get it working
without breaking existing stuff.
--
R.Liv...
Overriding date_select in local project to use custom value rather than blank for starting option...
2005 May 08
3
Overriding date_select in local project to use custom value rather than blank for starting option...
...wn is
"- Month -", "- Day -", or "- Year -" rather than a blank value for
the respective month, day, and year select fields.
I took a look at the ruby source for form_options_helper.rb in
gems/actionpack-1.8.1/lib/action_view/helpers on my machine,
specifically the to_select_tag function and see that it could be
reasonably easy to override this method to do what I''d like (I''d need
to set an option at the date_select level for a label to use as well),
but I have no idea where in my Rails project (directory, file, class,
etc.) that I should put my chang...