Sha256: 046f3696dd56af098c9d14b6ea68daf0de4df9f42a619b270d6acb3121aab9f0

Contents?: true

Size: 446 Bytes

Versions: 1

Compression:

Stored size: 446 Bytes

Contents

# frozen_string_literal: true

class SunriseXmlImport < Sunrise::AbstractModel
  self.resource_name = 'XmlImport'

  default_index_view :table
  available_index_views [:table]

  index :table do
    field :updated_count
    field :created_count
    field :kind
  end

  form do
    field :xml_import_type_id, collection: -> { XmlImportType.all }
    group :bottom, holder: :bottom do
      field :attachment_file, as: :uploader
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/sunrise/sunrise_xml_import.rb