|
- <?php
-
-
-
- use yii\bootstrap\ActiveForm;
- use yii\helpers\Html;
-
- $this->setTitle('Import utilisateurs');
- $this->addBreadcrumb($this->getTitle());
-
- ?>
-
- <div class="product-price-import">
- <div class="alert alert-info">
- <i class="icon fa fa-info"></i>
- Fichier d'exemple : <a href="<?= Yii::$app->urlManager->baseUrl ?>/csv/users-import-sample.csv">Télécharger (CSV)</a>
- </div>
-
- <?php $form = ActiveForm::begin([
- 'enableClientValidation' => false,
- 'options' => ['enctype' => 'multipart/form-data']
- ]); ?>
-
- <?= $form->field($model, 'file')->fileInput() ?>
- <?= $form->field($model, 'send_mail_welcome')->checkbox() ?>
-
- <div class="form-group">
- <?= Html::submitButton('Envoyer', ['class' => 'btn btn-primary']) ?>
- </div>
-
- <?php ActiveForm::end(); ?>
- </div>
|