Blame view

backend/views/settings/_contact_tab.php 1.2 KB
ae432de6   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  <?php
      use common\models\Settings;
      use yii\bootstrap\ActiveForm;
      use yii\web\View;
      
      /**
       * @var View       $this
       * @var Settings   $model
       * @var ActiveForm $form
       */
      echo $form->field($model, 'phone')
                ->textInput()
                ->hint(\Yii::t('core', 'Contact phone for website'));
      echo $form->field($model, 'phone2')
                ->textInput()
                ->hint(\Yii::t('core', 'Contact phone for website'));
      echo $form->field($model, 'email')
                ->textInput()
                ->hint(\Yii::t('core', 'Contact email for website'));
      echo $form->field($model, 'skype')
                ->textInput();
      echo $form->field($model, 'house')
                ->textInput();
      echo $form->field($model, 'street')
                ->textInput();
      echo $form->field($model, 'office')
                ->textInput();
      echo $form->field($model, 'city')
                ->textInput();
      echo $form->field($model, 'country')
                ->textInput();
9870b2b4   Alexey Boroda   -In process
32
33
      echo $form->field($model, 'index')
                ->textInput();
ae432de6   Alexey Boroda   first commit
34
35
36
37
38
      echo $form->field($model, 'lat')
                ->textInput();
      echo $form->field($model, 'lon')
                ->textInput();