Drop down list

Anybody know how to create a drop down list with ruby on rails??

Please, take a look at the documentation:

http://www.rubyonrails.com/api/classes/ActionView/Helpers/FormOptionsHelper.html#M000399

Regards,

Harm de Laat
Kabisa ICT

rookie wrote:

Anybody know how to create a drop down list with ruby on rails??

Check

  • select(object, method, choices, options = {}, html_options = {})
  • select_tag(name, option_tags = nil, options = {})

Always good to read api.rubyonrails.org

Jean-Etienne

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs