From 3aec4606141fb9df673cae7cc21a34f66bd756a9 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 26 Oct 2023 13:49:26 +0200 Subject: [PATCH] Add docs for 50f048fa8 --- src/pretix/control/signals.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pretix/control/signals.py b/src/pretix/control/signals.py index 65038fe5ad..a7e27ef6e7 100644 --- a/src/pretix/control/signals.py +++ b/src/pretix/control/signals.py @@ -343,6 +343,10 @@ styles. It is advisable to set a prefix for your form to avoid clashes with othe your form instance will automatically being set to the subevent that has just been created. During creation, ``copy_from`` can be a subevent that is being copied from. +Your forms may also have two special properties: ``template`` with a template that will be +included to render the form, and ``title``, which will be used as a headline. Your template +will be passed a ``form`` variable with your form. + As with all plugin signals, the ``sender`` keyword argument will contain the event. """