From 3ead6bc30436d5a85b06bb020f49036ebc4c7e48 Mon Sep 17 00:00:00 2001 From: Anastasia Date: Thu, 26 Jul 2018 14:32:31 +0300 Subject: [PATCH] add name to feedback --- backend/controllers/VisitController.php | 2 +- backend/views/feedback/_form.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/controllers/VisitController.php b/backend/controllers/VisitController.php index 900c74f..2c286e7 100644 --- a/backend/controllers/VisitController.php +++ b/backend/controllers/VisitController.php @@ -46,7 +46,7 @@ 'class' => Index::className(), 'columns' => [ 'phone' => [ - 'type' => Index::STRING_COL + 'type' => Index::ACTION_COL ], 'status' => [ 'type' => Index::STATUS_COL, diff --git a/backend/views/feedback/_form.php b/backend/views/feedback/_form.php index f3ad439..348cea5 100644 --- a/backend/views/feedback/_form.php +++ b/backend/views/feedback/_form.php @@ -11,7 +11,8 @@
- + field($model, 'name') + ->textInput([ 'maxlength' => true ]) ?> field($model, 'phone') ->textInput([ 'maxlength' => true ]) ?> -- libgit2 0.21.4