You're seeing just the function forage_multiple_select, go back to ForageWeb.ForageView module for more information.
Link to this function

forage_multiple_select(form, field, path, opts)

Widget to select multiple external resources using the Javascript Select2 widget.


  • form (%Phoenix.Html.Form.t/1)- the form
  • field (atom)
  • path (binary) - the URL from which to request the data


  • :foreign_key (optional) - The name of the foreign key (as a string or an atom). If this is not supplied it will default to "#{field}_id"