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



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

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