|
- <?php
-
-
-
- use yii\helpers\Html;
- use yii\widgets\ActiveForm;
- use yii\helpers\ArrayHelper;
- use common\models\Producer;
- use common\models\ProductPrice ;
-
-
-
-
- ?>
-
- <div class="user-group-form">
-
- <?php $form = ActiveForm::begin(); ?>
- <div class="col-md-8">
- <?= $form->field($model, 'name')->textInput(['maxlength' => 255]) ?>
- </div>
- <div class="clr"></div>
- <div class="form-group">
- <?= Html::submitButton($model->isNewRecord ? 'Ajouter' : 'Modifier', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
- </div>
-
- <?php ActiveForm::end(); ?>
-
- </div>
|