app/forms/tramway/event/section_form.rb in tramway-event-1.9.19.1 vs app/forms/tramway/event/section_form.rb in tramway-event-1.9.19.2
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
class Tramway::Event::SectionForm < ::Tramway::Core::ApplicationForm
properties :event, :title, :description, :photo, :icon, :position
association :event
def initialize(object)
@@ -8,8 +10,8 @@
description: :ckeditor,
event: :association,
photo: :file,
icon: :string,
position: :numeric
- end
+ end
end
end