|
- <?php
-
-
-
- use yii\helpers\Html;
- use yii\widgets\ActiveForm;
- use yii\helpers\ArrayHelper;
-
- ?>
-
- <div class="user-group-form">
- <?php $form = ActiveForm::begin(); ?>
- <div class="col-md-8">
- <div class="panel panel-default">
- <div class="panel-heading">
- <h3 class="panel-title">
- <i class="fa fa-th-list"></i>
- Général
- </h3>
- </div>
- <div class="panel-body">
- <?= $form->field($model, 'name')->textInput(['maxlength' => 255]) ?>
- </div>
- </div>
- </div>
- <div class="clr"></div>
- <div class="form-group form-actions">
- <?= Html::a('Retour', ['user-group/index'], ['class' => 'btn btn-default']) ?>
- <?= Html::submitButton($model->isNewRecord ? 'Ajouter' : 'Modifier', ['class' => 'btn btn-primary']) ?>
- </div>
- <?php ActiveForm::end(); ?>
- </div>
|