Sha256: 440dc3dba660831c11b12ec037639678d04a6ec0c8f26bea45c05de0fad13971

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

# frozen_string_literal: true
module Formtastic
  module Inputs
    module Base
      module Options

        def input_options
          options.except(*formtastic_options)
        end

        def formtastic_options
          [:priority_countries, :priority_zones, :member_label, :member_value, :collection, :required, :label, :as, :hint, :input_html, :value_as_class, :class]
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
formtastic-5.0.0 lib/formtastic/inputs/base/options.rb