app/helpers/binco/bootstrap_form_builder.rb
# Add the specified data-attributes the the options hash
Add the specified data-attributes the the options hash
Add the specified data - attributes the the options hash
def add_data_to_options(data, options = {})
        options[:data] ||= {}
        options[:data].merge! data
        options
      end
def add_data_to_options ( data , options = { } ) options [ :data ] ||= { } options [ :data ] . merge! data options end
Add the specified data-attributes the the options hash
Add the specified data - attributes the the options hash
data
<not_specific>
options
<not_specific>