Sha256: 0a67c3c65e263a2b824216d8dcdef36419e86212cabe58ff16ca3b37a06b0c2e

Contents?: true

Size: 435 Bytes

Versions: 9

Compression:

Stored size: 435 Bytes

Contents

module Formtastic
  # Quick hack/shim for anything expecting the old SemanticFormHelper module.
  # TODO remove from 2.0 with a helpful upgrade path/warning.
  # @private
  module SemanticFormHelper
    include Formtastic::Helpers::FormHelper
    @@builder = Formtastic::Helpers::FormHelper.builder
    @@default_form_class = Formtastic::Helpers::FormHelper.default_form_class
    mattr_accessor :builder, :default_form_class
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
formtastic-2.0.2 lib/formtastic/helpers/semantic_form_helper.rb
formtastic-2.0.1 lib/formtastic/helpers/semantic_form_helper.rb
formtastic-2.0.0 lib/formtastic/helpers/semantic_form_helper.rb
formtastic-2.0.0.rc5 lib/formtastic/helpers/semantic_form_helper.rb
formtastic-2.0.0.rc4 lib/formtastic/helpers/semantic_form_helper.rb
formtastic-2.0.0.rc3 lib/formtastic/helpers/semantic_form_helper.rb
formtastic-2.0.0.rc2 lib/formtastic/helpers/semantic_form_helper.rb
formtastic-2.0.0.rc1 lib/formtastic/helpers/semantic_form_helper.rb
nuatt-formtastic-0.2.3 lib/formtastic/helpers/semantic_form_helper.rb