Class: BootsyInput

Inherits:
SimpleForm::Inputs::Base
  • Object
show all
Defined in:
lib/bootsy/simple_form/bootsy_input.rb

Instance Method Summary collapse

Instance Method Details

#inputObject



6
7
8
9
10
# File 'lib/bootsy/simple_form/bootsy_input.rb', line 6

def input
  bootsy_params = [:editor_options, :container, :uploader]
  input_html_options.merge! input_options.select {|k,v| bootsy_params.include? k }
  @builder.bootsy_area attribute_name, input_html_options
end