Sha256: 3704c0d62b7092e5681594b85b3c69837da28252fcacec9c9ee4c31615ea1b88

Contents?: true

Size: 487 Bytes

Versions: 14

Compression:

Stored size: 487 Bytes

Contents

# frozen_string_literal: true

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

  def initialize(object)
    super(object).tap do
      form_properties title: :string,
                      description: :default,
                      organization_type: :default,
                      logo: :file,
                      link: :string
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
tramway-sport_school-1.2.12.6 app/forms/admin/tramway/sport_school/organization_form.rb
tramway-sport_school-1.2.12.5 app/forms/admin/tramway/sport_school/organization_form.rb
tramway-sport_school-1.2.12.4 app/forms/admin/tramway/sport_school/organization_form.rb
tramway-sport_school-1.2.12.3 app/forms/admin/tramway/sport_school/organization_form.rb
tramway-sport_school-1.2.12.2 app/forms/admin/tramway/sport_school/organization_form.rb
tramway-sport_school-1.2.12.1 app/forms/admin/tramway/sport_school/organization_form.rb
tramway-sport_school-1.2.12 app/forms/admin/tramway/sport_school/organization_form.rb
tramway-sport_school-1.2.11.3 app/forms/admin/tramway/sport_school/organization_form.rb
tramway-sport_school-1.2.11.2 app/forms/admin/tramway/sport_school/organization_form.rb
tramway-sport_school-1.2.11.1 app/forms/admin/tramway/sport_school/organization_form.rb
tramway-sport_school-1.2.11 app/forms/admin/tramway/sport_school/organization_form.rb
tramway-sport_school-1.2.10.6 app/forms/admin/tramway/sport_school/organization_form.rb
tramway-sport_school-1.2.10.5 app/forms/admin/tramway/sport_school/organization_form.rb
tramway-sport_school-1.2.10.4 app/forms/admin/tramway/sport_school/organization_form.rb