TemplatesForms module
Forms templates
Default templates the Forms module renders, the controller that renders each one and what it receives. A file at the same path in your site repository replaces the platform's.
Admin view
forms/backend/form-submissions/manage.html
FormSubmissions\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$formSubmissions |
Collection<FormSubmission> |
Collection of FormSubmissions |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/forms/backend/form-submissions/manage.html in your site repository.
forms/backend/forms/add.html
Forms\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$form |
Form |
Single (empty) Form record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/forms/backend/forms/add.html in your site repository.
forms/backend/forms/custom-fields.html
Forms\CustomFields
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$form |
Form |
Retrieved Form record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/forms/backend/forms/custom-fields.html in your site repository.
forms/backend/forms/manage.html
Forms\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$forms |
Collection<Form> |
Collection of Forms |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/forms/backend/forms/manage.html in your site repository.