Module: SelectableAttrRails::Helpers::CheckBoxGroupHelper::FormBuilder

Defined in:
lib/selectable_attr_rails/helpers/check_box_group_helper.rb

Instance Method Summary collapse

Instance Method Details

#check_box_group(method, options = nil, &block) ⇒ Object



58
59
60
61
# File 'lib/selectable_attr_rails/helpers/check_box_group_helper.rb', line 58

def check_box_group(method, options = nil, &block)
  @template.check_box_group(@object_name, method,
    (options || {}).merge(:object => @object), &block)
end