field($model, 'login')->textInput(['maxlength' => true]) ?> field($model, 'password')->passwordInput(['maxlength' => true]) ?> field($model, 'email')->textInput(['maxlength' => true]) ?> field($model, 'is_super')->dropDownList(ArrayHelper::map([['id'=>1,'name'=>'Администратор'], ['id'=>2,'name'=>'Менеджер'], ['id'=>3,'name'=>'Топ-менеджер'], ], 'id', 'name')) ?> field($model, 'name')->textInput(['maxlength' => true]) ?> field($model, 'office_id')->dropDownList(ArrayHelper::map([['id'=>0,'name'=>'Выбрать...'], ['id'=>2,'name'=>'Киев » Италавто'] ], 'id', 'name')) ?> $model, 'field'=>'photo', 'width'=>200, 'height'=>200, 'multi'=>false, 'gallery' =>$model->photo ]); ?> field($model, 'contacts')->textInput(['maxlength' => true]) ?> field($model, 'acl_accounts_access')->textInput() ?> field($model, 'active')->textInput() ?>
isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>