Sha256: 1cee81735424a72e214fb6819b4b498131bcdb3eccdd86b4cd95e857439d86ac

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 Bytes

Contents

module Para
  module Component
    class Settings < Para::Component::Base
      register :settings, self

      configurable_on :settings, as: :selectize

      def settings
        eval(configuration['settings'])
      end

      def default_form_actions
        [:submit]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
para-0.5.4 app/models/para/component/settings.rb
para-0.5.3 app/models/para/component/settings.rb
para-0.5.1 app/models/para/component/settings.rb
para-0.5.0 app/models/para/component/settings.rb
para-0.4.0 app/models/para/component/settings.rb