You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 8 година
пре 8 година
пре 8 година
12345678910111213141516171819202122
  1. <?php
  2. use yii\helpers\Html;
  3. /* @var $this yii\web\View */
  4. /* @var $model common\models\User */
  5. $this->title = 'Ajouter un utilisateur';
  6. $this->params['breadcrumbs'][] = ['label' => 'Utilisateurs', 'url' => ['index']];
  7. $this->params['breadcrumbs'][] = 'Ajouter' ;
  8. ?>
  9. <div class="user-create">
  10. <?php if(YII_ENV == 'demo'): ?>
  11. <div class="alert alert-warning">Vous ne pouvez pas ajouter d'utilisateur dans l'espace Démo.</div>
  12. <?php else: ?>
  13. <h1><?= Html::encode($this->title) ?></h1>
  14. <?= $this->render('_form', [
  15. 'model' => $model,
  16. ]) ?>
  17. <?php endif; ?>
  18. </div>