Sha256: d8743237f1c7932fb61bb70eff54a0ee0e415394bf6f3e141c09f8b552004c36

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

class Tramway::Event::PlaceForm < Tramway::Core::ApplicationForm
  properties :title, :description, :coordinates, :photo, :city

  def initialize(object)
    super(object).tap do
      form_properties title: :string,
        description: :ckeditor,
        coordinates: :string,
        photo: :file,
        city: :string
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tramway-event-1.9.19.1 app/forms/tramway/event/place_form.rb
tramway-event-1.9.19 app/forms/tramway/event/place_form.rb
tramway-event-1.9.18.2 app/forms/tramway/event/place_form.rb