Sha256: 79066709004c3c98759038759b09363133fe704c59c7debb557657acf5e1bffa

Contents?: true

Size: 332 Bytes

Versions: 2

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true

class Admin::Tramway::Partner::OrganizationForm < ::Tramway::Core::ApplicationForm
  properties :title, :logo, :url

  def initialize(object)
    form_object = super object
    form_properties title: :string,
                    logo: :file,
                    url: :string
    form_object
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tramway-partner-1.0.4 app/forms/admin/tramway/partner/organization_form.rb
tramway-partner-1.0.3.2 app/forms/admin/tramway/partner/organization_form.rb