app/forms/tramway/event/place_form.rb in tramway-event-1.9.19.1 vs app/forms/tramway/event/place_form.rb in tramway-event-1.9.19.2
- old
+ new
@@ -1,13 +1,15 @@
+# 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
+ description: :ckeditor,
+ coordinates: :string,
+ photo: :file,
+ city: :string
end
end
end