app/models/tramway/event/participant_form_field.rb in tramway-event-1.12.6 vs app/models/tramway/event/participant_form_field.rb in tramway-event-1.12.6.2
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
-class Tramway::Event::ParticipantFormField < ::Tramway::Event::ApplicationRecord
+class Tramway::Event::ParticipantFormField < ::Tramway::Core::ApplicationRecord
belongs_to :event, class_name: 'Tramway::Event::Event'
enumerize :field_type, in: %i[text string numeric date_picker select checkbox], default: :text
scope :inputs_list, -> { active.order(position: :asc) }