app/forms/tramway/event/person_form.rb in tramway-event-1.9.19.1 vs app/forms/tramway/event/person_form.rb in tramway-event-1.9.19.2
- old
+ new
@@ -1,12 +1,14 @@
+# frozen_string_literal: true
+
class Tramway::Event::PersonForm < ::Tramway::Core::ApplicationForm
properties :first_name, :last_name, :photo, :description
def initialize(object)
super(object).tap do
form_properties first_name: :string,
- last_name: :string,
- photo: :file,
- description: :ckeditor
+ last_name: :string,
+ photo: :file,
+ description: :ckeditor
end
end
end