lib/generators/dry_crud/templates/app/helpers/standard_form_builder.rb
def has_many_field(attr, html_options = {})
    html_options[:multiple] = true
    add_css_class(html_options, 'multiselect')
    belongs_to_field(attr, html_options)
  end
# Render a multi select element for a :has_many or :has_and_belongs_to_many
# association defined by attr.
# Use additional html_options for the select element.
# To pass a custom element list, specify the list with the :list key or
# define an instance variable with the pluralized name of the association.
Render a multi select element for a :has_many or :has_and_belongs_to_many
association defined by attr.
Use additional html_options for the select element.
To pass a custom element list, specify the list with the :list key or
define an instance variable with the pluralized name of the association.
Render a multi select element for a : has_many or : has_and_belongs_to_many association defined by attr . Use additional html_options for the select element . To pass a custom element list specify the list with the : list key or define an instance variable with the pluralized name of the association .
def has_many_field(attr, html_options = {})
    html_options[:multiple] = true
    add_css_class(html_options, 'multiselect')
    belongs_to_field(attr, html_options)
  end
def has_many_field ( attr , html_options = { } ) html_options [ :multiple ] = true add_css_class ( html_options , 'multiselect' ) belongs_to_field ( attr , html_options ) end
Render a multi select element for a :has_many or :has_and_belongs_to_many
association defined by attr.
Render a multi select element for a : has_many or : has_and_belongs_to_many association defined by attr .
attr
html_options