Sha256: 396b7f72fe62019ba3bf9126e07314fb4c549d390dc20e0c201ffa268ff3b23a

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

module FormtasticRebootstrap
  module Inputs
    class SelectInput < Formtastic::Inputs::SelectInput

      include Base
      include Base::Collections

      def to_html
        bootstrap_wrapping do
          builder.select(input_name, collection, input_options, form_control_input_html_options)
        end
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
formtastic_rebootstrap-0.0.2 lib/formtastic_rebootstrap/inputs/select_input.rb
formtastic_rebootstrap-0.0.1 lib/formtastic_rebootstrap/inputs/select_input.rb