An input for has_many :through associations that lets the user chose the items from a <select> menu.

To use this tag, the model of the items the user is chosing must have unique names.


  • proto-item
    • proto-hidden
    • proto-remove-button
  • item
    • item-label
    • hidden
    • remove-button
  • select


options: An array of ActiveRecord objects

remove-label: the label on the remove button. i18n hobo.actions.remove is the preferred way of changing this value.

prompt: default: “Add foos”, where foo is the name of the field. i18n foos.form.select_many.prompt is the preferred way to change the prompt.

name: the parameter name. Defaults to param_name_for_this.

Show Source

Related Tags

Edit this page