Sha256: c61556e9589058500f9a18e09dabf41a6bcfac7388fd67244a3b6d153d56899a

Contents?: true

Size: 286 Bytes

Versions: 4

Compression:

Stored size: 286 Bytes

Contents

module FormtasticBootstrap
  module Inputs
    class UrlInput < Formtastic::Inputs::UrlInput
      include Base
      include Base::Stringish

      def to_html
        bootstrap_wrapping do
          builder.url_field(method, input_html_options)
        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/url_input.rb
formtastic-bootstrap-2.1.2 lib/formtastic-bootstrap/inputs/url_input.rb
formtastic-bootstrap-2.1.1 lib/formtastic-bootstrap/inputs/url_input.rb
formtastic-bootstrap-2.0.0 lib/formtastic-bootstrap/inputs/url_input.rb