Blame view

backend/views/settings/_main_tab.php 716 Bytes
9af79e71   Yarik   Sitemap and slugb...
1
  <?php
3e6486de   Alexey Boroda   -Gallery attached...
2
      use artbox\core\components\imagemanager\components\ImageManagerInputWidget;
9af79e71   Yarik   Sitemap and slugb...
3
4
5
6
7
8
9
10
11
12
13
      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, 'name')
                ->textInput();
8b3dc47b   Yarik   XPanel removed
14
15
      echo $form->field($model, 'logo')
                ->widget(
3e6486de   Alexey Boroda   -Gallery attached...
16
                    ImageManagerInputWidget::className(),
8b3dc47b   Yarik   XPanel removed
17
18
19
20
21
                    [
                        'showPreview'                  => true,
                        'showDeletePickedImageConfirm' => false,
                    ]
                );
9af79e71   Yarik   Sitemap and slugb...
22
23
      echo $form->field($model, 'about')
                ->textarea();