original_string: public function showAddIncident()
      {
          return View::make('dashboard.incidents.add')
              ->withPageTitle(trans('dashboard.incidents.add.title').' - '.trans('dashboard.dashboard'))
              ->withComponentsInGroups(ComponentGroup::with('components')->get())
              ->withComponentsOutGroups(Component::where('group_id', '=', 0)->get())
              ->withNotificationsEnabled($this->system->canNotifySubscribers())
              ->withIncidentTemplates(IncidentTemplate::all());
      }
code: public function showAddIncident()
      {
          return View::make('dashboard.incidents.add')
              ->withPageTitle(trans('dashboard.incidents.add.title').' - '.trans('dashboard.dashboard'))
              ->withComponentsInGroups(ComponentGroup::with('components')->get())
              ->withComponentsOutGroups(Component::where('group_id', '=', 0)->get())
              ->withNotificationsEnabled($this->system->canNotifySubscribers())
              ->withIncidentTemplates(IncidentTemplate::all());
      }
code_tokens: public function showAddIncident ( ) { return View :: make ( 'dashboard.incidents.add' ) -> withPageTitle ( trans ( 'dashboard.incidents.add.title' ) . ' - ' . trans ( 'dashboard.dashboard' ) ) -> withComponentsInGroups ( ComponentGroup :: with ( 'components' ) -> get ( ) ) -> withComponentsOutGroups ( Component :: where ( 'group_id' , '=' , 0 ) -> get ( ) ) -> withNotificationsEnabled ( $ this -> system -> canNotifySubscribers ( ) ) -> withIncidentTemplates ( IncidentTemplate :: all ( ) ) ; }
docstring: Shows the add incident view.
  
  @return \Illuminate\View\View
docstring_tokens: Shows the add incident view .