g
Frontend | Backend | Api

Forms default templates

This page contains an overview of the default templates for the Forms module.

The overview is generated based on controllers using the specified template as their default layout and containing GET methods; thus depending on the configuration the controller might not use the template at all or other controllers might use the template too.
The table is only meant as a first orientation which ResponseVariables can likely be expected when working with the template.

File Controller GET Response variables GET Description
forms/form-submissions/index.html FormSubmissions\Index
Name Type Description
formSubmissions Collection (FormSubmission) Collection of FormSubmissions
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_menu Coredna\Kernel\Helper\Response\Menu Menu helper; provides easy access to DXP defined menus
Retrieve a list of records and assign them to the template.
forms/form-submissions/show.html FormSubmissions\Show
Name Type Description
formSubmission FormSubmission Single FormSubmission record
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_menu Coredna\Kernel\Helper\Response\Menu Menu helper; provides easy access to DXP defined menus
Show a single record
forms/forms/index.html Forms\Index
Name Type Description
forms Collection (Form) Collection of Forms
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_menu Coredna\Kernel\Helper\Response\Menu Menu helper; provides easy access to DXP defined menus
Retrieve a list of records and assign them to the template.
forms/forms/show.html Forms\Show
Name Type Description
form Form Single Form record
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_menu Coredna\Kernel\Helper\Response\Menu Menu helper; provides easy access to DXP defined menus
Show a single record