mirror of
https://github.com/sruupl/batflat.git
synced 2026-05-07 14:35:30 +02:00
Add an optional checkbox to contact form in connection with the GPRD
This commit is contained in:
@@ -43,7 +43,12 @@ class Site extends SiteModule
|
||||
|
||||
private function _insertForm()
|
||||
{
|
||||
return $this->draw('form.html');
|
||||
return $this->draw('form.html', [
|
||||
'checkbox' => [
|
||||
'switch' => $this->settings('contact', 'checkbox.switch'),
|
||||
'content' => $this->settings('contact', 'checkbox.content'),
|
||||
]
|
||||
]);
|
||||
}
|
||||
|
||||
private function _initDriver()
|
||||
|
||||
Reference in New Issue
Block a user