Sha256: d29de0092a9fa8ffe087946e46aed4f494b4abd4a225a6d6c4ed3de355cdfd4d

Contents?: true

Size: 332 Bytes

Versions: 3

Compression:

Stored size: 332 Bytes

Contents

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

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

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ui_bibz-2.0.0.alpha28 app/inputs/custom_inputs/surround_input.rb
ui_bibz-2.0.0.alpha27 app/inputs/custom_inputs/surround_input.rb
ui_bibz-2.0.0.alpha26 app/inputs/custom_inputs/surround_input.rb