| xqd
@@ -67,7 +67,7 @@ class ProjectUserController extends BaseController
|
|
|
public function create()
|
|
|
{
|
|
|
$user_options = (new User())->getOptions();
|
|
|
- $role_options = (new ProjectRole())->getOptions();
|
|
|
+ $role_options = (new ProjectRole())->getNotLeaderOptions();
|
|
|
list($model, $model_name, $pre_uri) = array($this->model, $this->model_name, $this->pre_uri);
|
|
|
return view($this->view_path . 'create', compact('model', 'model_name','pre_uri', 'user_options', 'role_options'));
|
|
|
}
|