Commit af4793f8e69f87d50ab9f369ba0aed233b5c92cc
Merge branch 'master' of gitlab.artweb.com.ua:steska/clinica
Showing
2 changed files
with
3 additions
and
2 deletions
Show diff stats
backend/controllers/VisitController.php
@@ -46,7 +46,7 @@ | @@ -46,7 +46,7 @@ | ||
46 | 'class' => Index::className(), | 46 | 'class' => Index::className(), |
47 | 'columns' => [ | 47 | 'columns' => [ |
48 | 'phone' => [ | 48 | 'phone' => [ |
49 | - 'type' => Index::STRING_COL | 49 | + 'type' => Index::ACTION_COL |
50 | ], | 50 | ], |
51 | 'status' => [ | 51 | 'status' => [ |
52 | 'type' => Index::STATUS_COL, | 52 | 'type' => Index::STATUS_COL, |
backend/views/feedback/_form.php
@@ -11,7 +11,8 @@ | @@ -11,7 +11,8 @@ | ||
11 | <div class="feedback-form"> | 11 | <div class="feedback-form"> |
12 | 12 | ||
13 | <?php $form = ActiveForm::begin(); ?> | 13 | <?php $form = ActiveForm::begin(); ?> |
14 | - | 14 | + <?= $form->field($model, 'name') |
15 | + ->textInput([ 'maxlength' => true ]) ?> | ||
15 | 16 | ||
16 | <?= $form->field($model, 'phone') | 17 | <?= $form->field($model, 'phone') |
17 | ->textInput([ 'maxlength' => true ]) ?> | 18 | ->textInput([ 'maxlength' => true ]) ?> |