diff --git a/frontend/controllers/SiteController.php b/frontend/controllers/SiteController.php index 46fc447..72944f9 100755 --- a/frontend/controllers/SiteController.php +++ b/frontend/controllers/SiteController.php @@ -62,7 +62,7 @@ */ public function actionContact() { - $contact = new Feedback(); + $contact = new Feedback(['scenario'=>Feedback::SCENARIO_WRITE_US]); return $this->render( 'contact', [ diff --git a/frontend/views/site/contact.php b/frontend/views/site/contact.php index 57d94dd..f9935be 100755 --- a/frontend/views/site/contact.php +++ b/frontend/views/site/contact.php @@ -154,6 +154,9 @@ JS; ] ); ?>
+ + +
field($contact, 'name') ->textInput() -- libgit2 0.21.4