Sha256: db4b2937f694e48575732b533df9bef35218a6e47f2d6ff265bd00e44e013e13

Contents?: true

Size: 320 Bytes

Versions: 14

Compression:

Stored size: 320 Bytes

Contents

# frozen_string_literal: true

class Admin::Tramway::SportSchool::DocumentForm < ::Tramway::Core::ApplicationForm
  properties :title, :file, :view_state_event, :document_type

  def initialize(object)
    super(object).tap do
      form_properties title: :string, file: :file, document_type: :default
    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/document_form.rb
tramway-sport_school-1.2.12.5 app/forms/admin/tramway/sport_school/document_form.rb
tramway-sport_school-1.2.12.4 app/forms/admin/tramway/sport_school/document_form.rb
tramway-sport_school-1.2.12.3 app/forms/admin/tramway/sport_school/document_form.rb
tramway-sport_school-1.2.12.2 app/forms/admin/tramway/sport_school/document_form.rb
tramway-sport_school-1.2.12.1 app/forms/admin/tramway/sport_school/document_form.rb
tramway-sport_school-1.2.12 app/forms/admin/tramway/sport_school/document_form.rb
tramway-sport_school-1.2.11.3 app/forms/admin/tramway/sport_school/document_form.rb
tramway-sport_school-1.2.11.2 app/forms/admin/tramway/sport_school/document_form.rb
tramway-sport_school-1.2.11.1 app/forms/admin/tramway/sport_school/document_form.rb
tramway-sport_school-1.2.11 app/forms/admin/tramway/sport_school/document_form.rb
tramway-sport_school-1.2.10.6 app/forms/admin/tramway/sport_school/document_form.rb
tramway-sport_school-1.2.10.5 app/forms/admin/tramway/sport_school/document_form.rb
tramway-sport_school-1.2.10.4 app/forms/admin/tramway/sport_school/document_form.rb