Blame view

frontend/views/payment/_form.php 656 Bytes
fa67310a   Yarik   test
1
  <?php
eb7e82fb   Administrator   29.02.16
2
3
4
5
6
7
8
9
10
11
12
13
14
  

  use yii\helpers\Html;

  use yii\widgets\ActiveForm;

  

  /* @var $this yii\web\View */

  /* @var $model common\models\Payment */

  /* @var $form yii\widgets\ActiveForm */

  ?>

  

  <div class="payment-form">

  

      <?php $form = ActiveForm::begin(); ?>

  

fa67310a   Yarik   test
15
16
17
18
      <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
  
      <?= $form->field($model, 'status')->textInput() ?>
  
eb7e82fb   Administrator   29.02.16
19
20
21
22
23
24
25
      <div class="form-group">

          <?= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>

      </div>

  

      <?php ActiveForm::end(); ?>

  

  </div>