Sha256: b83594da738fbf1b64c3a75bbddc45978d2c867a6798aaf18c0c0787c0a6e209

Contents?: true

Size: 428 Bytes

Versions: 29

Compression:

Stored size: 428 Bytes

Contents

# frozen_string_literal: true

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

29 entries across 29 versions & 1 rubygems

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