- <?php
-
-
-
- use yii\helpers\Html;
- use yii\widgets\ActiveForm;
-
- $this->setTitle('Créditer mon compte');
- $this->setPageTitle('Crédit mon compte');
-
- $this->addButton(
- [
- 'label' => 'Retour',
- 'url' => 'credit/history',
- 'class' => 'btn btn-default'
- ]
- );
-
- ?>
-
- <div class="form">
- <?php
- $form = ActiveForm::begin([
- 'validateOnBlur' => false,
- 'enableAjaxValidation' => false,
- ]); ?>
- <?= $form->field($creditForm, 'amount', [
- 'template' => '{label}<div class="input-group input-group-lg">{input}<span class="input-group-addon"><span class="glyphicon glyphicon-euro"></span></span></div>{hint}',
- ])
- ->label('Quel montant souhaitez-vous créditer ?')
- ->hint('Montant minimum : 25 €'); ?>
-
- <div class="form-group">
- <?= Html::submitButton('<span class="glyphicon glyphicon-lock"></span> Payer', ['class' => 'btn btn-primary']
- ) ?>
- </div>
- <?php
- ActiveForm::end(); ?>
- </div>
|