/** * 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')]); }
/** * 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()]); }