Blame view

backend/views/settings/_contact_tab.php 1.13 KB
9af79e71   Yarik   Sitemap and slugb...
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
  <?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();
6e516b40   Yarik   Layout complete
30
31
      echo $form->field($model, 'country')
                ->textInput();
9af79e71   Yarik   Sitemap and slugb...
32
33
34
35
36
      echo $form->field($model, 'lat')
                ->textInput();
      echo $form->field($model, 'lon')
                ->textInput();