first/last name instead ofj ust name, fix og migration instead of updating in second file sqlite issue
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
$fields = \Cake\Core\Configure::readOrFail('ContactUs.fields');
|
||||
?>
|
||||
<?php
|
||||
echo $this->Form->control('name');
|
||||
echo $this->Form->control('first_name');
|
||||
echo $this->Form->control('last_name');
|
||||
echo isset($fields['email']) && $fields['email'] ? $this->Form->control('email', ['required' => true]) : '';
|
||||
echo isset($fields['subject']) && $fields['subject'] ? $this->Form->control('subject', ['required' => true]) : '';
|
||||
echo $this->Form->control('message');
|
||||
echo isset($fields['captcha']) && $fields['captcha'] ? $this->Captcha->render(['placeholder' => __('Please solve the riddle')]) : '';
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user