Sha256: 227b89dea80ecbcda9f0ff2a75b3b400ce85778809bff771bda2a3d4913877bd

Contents?: true

Size: 333 Bytes

Versions: 4

Compression:

Stored size: 333 Bytes

Contents

module CustomInputs
  class SurroundInput < SimpleForm::Inputs::StringInput
    include UiBibz::Ui::Core

    def input(wrapper_options)
      options = options || {}
      options = options.merge({ builder: @builder })
      UiBibz::Ui::Core::SurroundField.new(attribute_name, options, input_html_options).render
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ui_bibz-2.0.0.alpha5 app/inputs/custom_inputs/surround_input.rb
ui_bibz-2.0.0.alpha4 app/inputs/custom_inputs/surround_input.rb
ui_bibz-2.0.0.alpha3 app/inputs/custom_inputs/surround_input.rb
ui_bibz-2.0.0.alpha2 app/inputs/custom_inputs/surround_input.rb