Sha256: e14485753744961ef5a8300822e5aac94eaf2b9faf11711ca01c47e2360d9a45

Contents?: true

Size: 320 Bytes

Versions: 33

Compression:

Stored size: 320 Bytes

Contents

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

33 entries across 33 versions & 1 rubygems

Version Path
tramway-event-1.9.7 app/forms/tramway/event/person_form.rb
tramway-event-1.9.6 app/forms/tramway/event/person_form.rb
tramway-event-1.9.5 app/forms/tramway/event/person_form.rb
tramway-event-1.9.4 app/forms/tramway/event/person_form.rb
tramway-event-1.9.3 app/forms/tramway/event/person_form.rb
tramway-event-1.9.2 app/forms/tramway/event/person_form.rb
tramway-event-1.9.1 app/forms/tramway/event/person_form.rb
tramway-event-1.9 app/forms/tramway/event/person_form.rb
tramway-event-1.8.10 app/forms/tramway/event/person_form.rb
tramway-event-1.8.9 app/forms/tramway/event/person_form.rb
tramway-event-1.8.8 app/forms/tramway/event/person_form.rb
tramway-event-1.8.7 app/forms/tramway/event/person_form.rb
tramway-event-1.8.6 app/forms/tramway/event/person_form.rb