Sha256: cbbda846a590ea0aac213ddb92bd14f9b0632d1a80d744d947041a7ae555352d

Contents?: true

Size: 393 Bytes

Versions: 29

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

class Tramway::Event::PersonForm < ::Tramway::Core::ApplicationForm
  properties :first_name, :last_name, :photo, :description

  def initialize(object)
    super(object).tap do
      form_properties first_name: :string,
                      last_name: :string,
                      photo: :file,
                      description: :ckeditor
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
tramway-event-1.9.28.1 app/forms/tramway/event/person_form.rb
tramway-event-1.9.28 app/forms/tramway/event/person_form.rb
tramway-event-1.9.27.6 app/forms/tramway/event/person_form.rb
tramway-event-1.9.27.5 app/forms/tramway/event/person_form.rb
tramway-event-1.9.27.4 app/forms/tramway/event/person_form.rb
tramway-event-1.9.27.3 app/forms/tramway/event/person_form.rb
tramway-event-1.9.27.2 app/forms/tramway/event/person_form.rb
tramway-event-1.9.27.1 app/forms/tramway/event/person_form.rb
tramway-event-1.9.27 app/forms/tramway/event/person_form.rb
tramway-event-1.9.26 app/forms/tramway/event/person_form.rb
tramway-event-1.9.25.1 app/forms/tramway/event/person_form.rb
tramway-event-1.9.25 app/forms/tramway/event/person_form.rb
tramway-event-1.9.24.1 app/forms/tramway/event/person_form.rb
tramway-event-1.9.24 app/forms/tramway/event/person_form.rb
tramway-event-1.9.23.2 app/forms/tramway/event/person_form.rb
tramway-event-1.9.23.1 app/forms/tramway/event/person_form.rb
tramway-event-1.9.23 app/forms/tramway/event/person_form.rb
tramway-event-1.9.22 app/forms/tramway/event/person_form.rb
tramway-event-1.9.21.1 app/forms/tramway/event/person_form.rb
tramway-event-1.9.21 app/forms/tramway/event/person_form.rb