Sha256: 75465414195b4d975f7771468e2fa7505c62012adc6018d8e0fb6f52a16a640a

Contents?: true

Size: 343 Bytes

Versions: 4

Compression:

Stored size: 343 Bytes

Contents

module FormtasticBootstrap
  module Inputs
    class SelectInput < Formtastic::Inputs::SelectInput
      include Base
      include Base::Collections
      include Base::GroupedCollections

      def to_html
        bootstrap_wrapping do
          options[:group_by] ? grouped_select_html : select_html
        end
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
formtastic-bootstrap-2.1.3 lib/formtastic-bootstrap/inputs/select_input.rb
formtastic-bootstrap-2.1.2 lib/formtastic-bootstrap/inputs/select_input.rb
formtastic-bootstrap-2.1.1 lib/formtastic-bootstrap/inputs/select_input.rb
formtastic-bootstrap-2.0.0 lib/formtastic-bootstrap/inputs/select_input.rb