Blame view

backend/modules/location/views/currency/_form.php 860 Bytes
d1f8bd40   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 thread\app\bootstrap\ActiveForm;
  
  /**
   * @var $model \backend\modules\location\models\Currency
   * @var $modelLang \backend\modules\location\models\CurrencyLang
   * @var $form ActiveForm
   */
  $form = ActiveForm::begin();
  //
  echo $form->submit($model, $this)
      . $form->text_line($model, 'alias')
      . $form->text_line_lang($modelLang, 'title'); ?>
  
      <div class="row control-group">
          <div class="col-md-4">
              <?= $form->text_line($model, 'code1') ?>
          </div>
          <div class="col-md-4">
              <?= $form->text_line($model, 'code2') ?>
          </div>
          <div class="col-md-4">
              <?= $form->text_line($model, 'currency_symbol') ?>
          </div>
      </div>
  <?php
  echo $form->text_line($model, 'course')
      . $form->switcher($model, 'published')
      . $form->submit($model, $this);
  //
  ActiveForm::end();