Sha256: de09911a35c4d9bb71bdecbfd742b3f3cd1cf271be1d7f03d7091942f2e55587

Contents?: true

Size: 478 Bytes

Versions: 2

Compression:

Stored size: 478 Bytes

Contents

# frozen_string_literal: true

class Tramway::SportSchool::OrganizationForm < ::Tramway::Core::ApplicationForm
  properties :title, :description, :logo, :organization_type, :state, :view_state, :link

  def initialize(object)
    form_object = super object
    form_properties title: :string,
                    description: :default,
                    organization_type: :default,
                    logo: :file,
                    link: :string
    form_object
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tramway-sport_school-1.2.10 app/forms/tramway/sport_school/organization_form.rb
tramway-sport_school-1.2.9.2 app/forms/tramway/sport_school/organization_form.rb