first real commit in standalone repo

This commit is contained in:
2025-01-09 23:47:18 -08:00
parent 0e8844f47e
commit 9e6ce06a24
30 changed files with 1741 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
<?php
/**
* @var \App\View\AppView $this
* @var \Cake\Datasource\EntityInterface $contactUsFormSubmission
*/
$fields = \Cake\Core\Configure::readOrFail('ContactUs.fields');
?>
<?php
echo $this->Form->control('name');
echo $fields['email'] ? $this->Form->control('email', ['required' => true]) : '';
echo $fields['subject'] ? $this->Form->control('subject', ['required' => true]) : '';
echo $this->Form->control('message');
echo $fields['captcha'] ? $this->Captcha->render(['placeholder' => __('Please solve the riddle')]) : '';
?>