Sha256: c9b10eb4e6b7c4441e4cb725be2dd099d98dd5256b3179986a4d28ae134e505f

Contents?: true

Size: 435 Bytes

Versions: 50

Compression:

Stored size: 435 Bytes

Contents

# frozen_string_literal: true

class Admin::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

50 entries across 50 versions & 1 rubygems

Version Path
tramway-event-1.10.0.1 app/forms/admin/tramway/event/place_form.rb
tramway-event-1.10 app/forms/admin/tramway/event/place_form.rb
tramway-event-1.9.31.2 app/forms/admin/tramway/event/place_form.rb
tramway-event-1.9.31.1 app/forms/admin/tramway/event/place_form.rb
tramway-event-1.9.31 app/forms/admin/tramway/event/place_form.rb
tramway-event-1.9.30 app/forms/admin/tramway/event/place_form.rb
tramway-event-1.9.29 app/forms/admin/tramway/event/place_form.rb
tramway-event-1.9.28.4 app/forms/admin/tramway/event/place_form.rb
tramway-event-1.9.28.3 app/forms/admin/tramway/event/place_form.rb
tramway-event-1.9.28.2 app/forms/admin/tramway/event/place_form.rb