示例#1
0
 /**
  * Show the form for user registration.
  *
  * @return \Illuminate\View\View
  */
 public function register()
 {
     return $this->view('c::auth.register', ['user' => $this->users->getNew(), 'formAction' => $this->url('attemptRegistration')]);
 }
示例#2
0
 /**
  * Show the create new user form.
  *
  * @return \Illuminate\View\View
  */
 public function create()
 {
     return $this->view('c::user.form', ['pageTitle' => Lang::get('c::user.admin-newuser'), 'user' => $this->users->getNew(), 'userTypes' => $this->getUserTypes(), 'formAction' => $this->url('store'), 'backUrl' => $this->url('index'), 'activate' => $this->users->activationsEnabled()]);
 }