Blame view

backend/views/margins/_form.php 614 Bytes
7bfae493   Administrator   Importers CRUD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  <?php
  
  use yii\helpers\Html;
  use yii\widgets\ActiveForm;
  
  /* @var $this yii\web\View */
  /* @var $model common\models\Margins */
  /* @var $form yii\widgets\ActiveForm */
  ?>
  
  <div class="margins-form">
  
      <?php $form = ActiveForm::begin(); ?>
  
      <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
  
      <?= $form->field($model, 'koef')->textInput() ?>
  
      <div class="form-group">
25545a10   Administrator   VItaliy 30.11.2015
20
          <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
7bfae493   Administrator   Importers CRUD
21
22
23
24
25
      </div>
  
      <?php ActiveForm::end(); ?>
  
  </div>