Blame view

backend/views/parser/results.php 952 Bytes
a63b5418   Administrator   first_commit
1
2
3
  <?php
  
  use yii\helpers\Html;
e8be11d4   Mihail   move multyparser ...
4
  use common\components\parsers\DynamicFormHelper;
02e174a3   Mihail   work with custome...
5
  use yii\widgets\ActiveForm;
a63b5418   Administrator   first_commit
6
  
7a80e74c   Mihail   add DynamicFormHe...
7
  
a63b5418   Administrator   first_commit
8
9
10
11
12
13
14
15
16
17
  /* @var $this yii\web\View */
  /* @var $searchModel backend\models\CatalogSearch */
  /* @var $dataProvider yii\data\ActiveDataProvider */
  
  $this->title = 'Results';
  $this->params['breadcrumbs'][] = $this->title;
  ?>
  <div class="catalog-index">
  
      <h1><?= Html::encode($this->title) ?></h1>
02e174a3   Mihail   work with custome...
18
      <?php // echo $this->render('_search', ['model' => $searchModel]);
a63b5418   Administrator   first_commit
19
20
  
  
02e174a3   Mihail   work with custome...
21
22
      $form = ActiveForm::begin(['action' => 'write']);
          ?>
45c41a76   Mihail   edit createAssocA...
23
      <?= DynamicFormHelper::CreateGridWithDropDownListHeader( $dataProvider, $form, $header_model, $basic_column )?>
a63b5418   Administrator   first_commit
24
  
02e174a3   Mihail   work with custome...
25
26
27
      <div class="form-group">
          <?= Html::submitButton(Yii::t('app', 'Записать в БД'), ['class' => 'btn btn-primary']) ?>
      </div>
4fd43c25   Mihail   add detectStartPo...
28
  
02e174a3   Mihail   work with custome...
29
      <?php ActiveForm::end() ?>
54ada04a   Mihail   add base classes ...
30
31
      <?= Html::a('Вернуться', ['parser/index'], ['class' => 'btn btn-primary', 'name' => 'Return',]) ?>
  
a63b5418   Administrator   first_commit
32
  </div>