Blame view

backend/views/parser/results.php 942 Bytes
70f4f18b   Administrator   first_commit
1
2
3
  <?php
  
  use yii\helpers\Html;
74072a2a   Mihail   add first version...
4
  use yii\multiparser\DynamicFormHelper;
e774f057   Mihail   work with custome...
5
  use yii\widgets\ActiveForm;
70f4f18b   Administrator   first_commit
6
  
474f35bf   Mihail   add DynamicFormHe...
7
  
70f4f18b   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>
e774f057   Mihail   work with custome...
18
      <?php // echo $this->render('_search', ['model' => $searchModel]);
70f4f18b   Administrator   first_commit
19
20
  
  
e774f057   Mihail   work with custome...
21
22
      $form = ActiveForm::begin(['action' => 'write']);
          ?>
74072a2a   Mihail   add first version...
23
      <?= DynamicFormHelper::CreateGridWithDropDownListHeader( $dataProvider, $form, $header_model, $basic_column )?>
70f4f18b   Administrator   first_commit
24
  
e774f057   Mihail   work with custome...
25
26
27
      <div class="form-group">
          <?= Html::submitButton(Yii::t('app', 'Записать в БД'), ['class' => 'btn btn-primary']) ?>
      </div>
999b9326   Mihail   add detectStartPo...
28
  
e774f057   Mihail   work with custome...
29
      <?php ActiveForm::end() ?>
693c46cb   Mihail   add base classes ...
30
31
      <?= Html::a('Вернуться', ['parser/index'], ['class' => 'btn btn-primary', 'name' => 'Return',]) ?>
  
70f4f18b   Administrator   first_commit
32
  </div>