Sha256: 77d97e27a1b17cd87beb96055d3a0bf6393da54eca3ea6fa0e3f25c1e12914dc

Contents?: true

Size: 545 Bytes

Versions: 4

Compression:

Stored size: 545 Bytes

Contents

require "formalist/element"
require "formalist/elements"

module Formalist
  class Elements
    class UploadField < Field
      attribute :initial_attributes_url
      attribute :presign_url
      attribute :presign_options
      attribute :render_uploaded_as
      attribute :upload_prompt
      attribute :upload_action_label
      attribute :max_file_size
      attribute :max_file_size_message
      attribute :permitted_file_type_message
      attribute :permitted_file_type_regex
    end

    register :upload_field, UploadField
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
formalist-0.9.0 lib/formalist/elements/standard/upload_field.rb
formalist-0.8.0 lib/formalist/elements/standard/upload_field.rb
formalist-0.7.0 lib/formalist/elements/standard/upload_field.rb
formalist-0.6.0 lib/formalist/elements/standard/upload_field.rb