Created
August 26, 2014 14:50
-
-
Save mrjman/08e8d84afc4bcb47478f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Builder | |
def collection_otherable_check_boxes(method, collection, value_method, text_method, options = {}, html_options = {}, &block) | |
SimpleForm::Tags::CollectionCheckBoxes.new(@object_name, method, @template, collection, value_method, text_method, objectify_options(options), @default_options.merge(html_options)).render(&block) | |
end | |
def collection_nested_versionable(method, collection, value_method, text_method, options = {}, html_options = {}, &block) | |
SimpleForm::Tags::CollectionCheckBoxes.new(@object_name, method, @template, collection, value_method, text_method, objectify_options(options), @default_options.merge(html_options)).render(&block) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment