= $this->title; ?>
= $form->field($model, 'role_id')->dropDownList($model->getRole(), ['prompt' => yii::t('backend','Select Role'), 'class' => 'select2 form-control']) ?>
= $form->field($model, 'first_name')->textInput(); ?>
= $form->field($model, 'last_name')->textInput(); ?>
= $form->field($model, 'user_name')->textInput(); ?>
= $form->field($model, 'user_type')->dropDownList($model->getUserType(), ['prompt' => yii::t('backend','Select Role'), 'class' => 'select2 form-control']); ?>
= $form->field($model, 'email_address')->textInput(); ?>
getIsNewRecord()) : ?>
= $form->field($model, 'password')->passwordInput(); ?>
= $form->field($model, 'confirm_password')->passwordInput(); ?>
= $form->field($model, 'secret_password')->passwordInput(); ?>
= $form->field($model, 'status')->radioList([$model::ACTIVE => 'Active', $model::INACTIVE => 'Inactive']); ?>
= Html::submitButton($model->getIsNewRecord()? yii::t('backend','Create'): yii::t('backend','Update'), ['class' => 'btn btn-success']) ?>
= Html::a(yii::t('backend','Cancel'), ['/'], ['class' => 'btn btn-secondary']); ?>