false ]); ?> field($model, 'type') ->dropDownList([ User::TYPE_INDIVIDUAL => 'Particulier', User::TYPE_LEGAL_PERSON => 'Personne morale' ], [ 'v-model' => 'type' ]) ; ?> field($model, 'name_legal_person', ['options' => ['v-show' => "type == 'legal-person'"]])->textInput() ?> field($model, 'lastname')->textInput() ?> field($model, 'name')->textInput() ?> field($model, 'phone')->textInput() ?> field($model, 'email')->textInput() ?> field($model, 'address')->textarea() ?> field($model, 'points_sale')->checkboxlist( ArrayHelper::map($pointsSaleArray, 'id', function ($pointSale) use ($model) { $commentUserPointSale = isset($pointSale->userPointSale[0]) ? $pointSale->userPointSale[0]->comment : ''; $html = Html::encode($pointSale->name); if ($pointSale->restricted_access) { $html .= ''; } return $html; }), [ 'encode' => false ]); ?> field($model, 'user_groups')->checkboxlist( ArrayHelper::map($userGroupsArray, 'id', function ($userGroup) use ($model) { return Html::encode($userGroup->name); }), [ 'encode' => false ]); ?> field($model, 'product_price_percent') ->dropDownList(ProductPrice::percentValues(), [])->hint('Pourcentage appliqué aux prix de chaque produit pour cet utilisateur.');*/ ?>
isNewRecord ? 'Ajouter' : 'Modifier', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>

Mot de passe

'btn btn-primary', 'name' => 'submit_new_password', 'value' => 1]) ?>