<?php

use backend\models\CustomerActivateForm;
use yii\widgets\ActiveForm;
use yii\helpers\Html;

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

?>

<h1>Aktiválás</h1>


<?php if ( isset($model, $model->message)  ) {?>
    <div class="alert alert-success" role="alert">
        <p>
            <?= $model->message ?>
        </p>
    </div>
<?php }else { ?>
<div class="customer-form">

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

    <div class="form-group">
        <p>
            <?= $model->inactiveCardCount ?> kártya aktiválása
        </p>


        <div class="row">
            <div class="col-md-3">
            <?= Html::submitButton('Aktiválás',['class' => 'btn btn-success']) ?>
            </div>
        </div>

    </div>

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

</div>

<?php }?>


