Colin Law wrote: > 2009/6/19 James Byrne <[email protected]>: >> >> </label> >> id="invoicable_false">No</option> >> </select> >> </p> >> >> I can get everything except the id="invoicable_true" and >> id="invoicable_false" against their specific options. >> >> Is this possible with the existing select form helper or needs be I roll >> my own? > > Assuming I understand the issue correctly then to achieve this I use > f.select inside a form_for. This takes an array of values and ids for > the options. I must admit though that I use integer values for the id > values so whether this will work in the way you require I am not sure. > > Colin
I am already using the select helper inside a form_for construct. Could you show me a small example of what you do and what the page source generated looks like? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

