This PR adds a new content block called FormBlock that allows pre-defined forms to be selected. The available forms are defined in the settings by adding the appropriate configuration. To make a form available, a dotted path to a Django form class is required as well as a URL to submit the form to. A example configuration would look like this:
This PR adds a new content block called
FormBlock
that allows pre-defined forms to be selected. The available forms are defined in thesettings
by adding the appropriate configuration. To make a form available, a dotted path to a Django form class is required as well as a URL to submit the form to. A example configuration would look like this:This would look something like this: