class DistrictCnSelector::Hooks::SimpleFormBuilderExtension::SelectBase
Public Instance Methods
scope_input(scope)
click to toggle source
# File lib/district_cn_selector/hooks/simple_form.rb, line 6 def scope_input(scope) opts = options.extract!(:theme, :prompt_class) if SimpleForm.default_wrapper.eql?(:bootstrap) && opts[:theme].nil? opts.merge!(:theme => :bootstrap) end @builder.public_send(scope, attribute_name, opts.merge(:simple_form => true)) end