|
- <?php
- use yii\helpers\Html;
- use yii\bootstrap\ActiveForm;
-
- /* @var $this yii\web\View */
- /* @var $form yii\bootstrap\ActiveForm */
- /* @var $model \frontend\models\SignupForm */
-
- $this->title = 'Inscription';
- $this->params['breadcrumbs'][] = $this->title;
- ?>
- <div class="site-signup">
- <h1><?= Html::encode($this->title) ?></h1>
-
- <p>Veuillez remplir les champs suivants afin de créer votre compte.<br />
- Tous les champs sont obligatoires.</p>
-
- <div class="row">
- <div class="col-lg-5">
- <?php $form = ActiveForm::begin(['id' => 'form-signup']); ?>
- <?= $form->field($model, 'email') ?>
- <?= $form->field($model, 'password')->passwordInput() ?>
- <?= $form->field($model, 'nom') ?>
- <?= $form->field($model, 'prenom') ?>
- <?= $form->field($model, 'telephone') ?>
-
- <div class="form-group">
- <?= Html::submitButton("S'inscrire", ['class' => 'btn btn-primary', 'name' => 'signup-button']) ?>
- </div>
- <?php ActiveForm::end(); ?>
- </div>
- </div>
- </div>
|