index.php 611 B

123456789101112131415161718192021222324
  1. <?php
  2. /* @var $this yii\web\View */
  3. /* @var $form yii\bootstrap4\ActiveForm */
  4. /* @var $model app\models\ContactForm */
  5. use yii\bootstrap4\ActiveForm;
  6. use yii\bootstrap4\Html;
  7. use yii\captcha\Captcha;
  8. $this->title = 'Поповнити рахунок';
  9. $this->params['breadcrumbs'][] = $this->title;
  10. ?>
  11. <?php $form = ActiveForm::begin(['id' => 'payment-form']); ?>
  12. <?= $form->field($model, 'amount')->textInput(['autofocus' => true]) ?>
  13. <div class="form-group">
  14. <?= Html::submitButton('Сплатити', ['class' => 'btn btn-success', 'name' => 'pay-button']) ?>
  15. </div>
  16. <?php ActiveForm::end(); ?>