app/forms/tramway/event/participant_form.rb in tramway-event-1.9.27.4 vs app/forms/tramway/event/participant_form.rb in tramway-event-1.9.27.5
- old
+ new
@@ -9,9 +9,10 @@
def self.new(object)
if object.event_id.present?
::Tramway::Event::ParticipantExtendedFormCreator.create_form_class(
SecureRandom.hex,
object.event,
+ participation_state_event: :default,
comment: :string,
).new object
else
super(object).tap do |obj|
obj.form_properties event: :association