public function showAddSchedule()
    {
        $incidentTemplates = IncidentTemplate::all();

        return View::make('dashboard.maintenance.add')
            ->withPageTitle(trans('dashboard.schedule.add.title').' - '.trans('dashboard.dashboard'))
            ->withIncidentTemplates($incidentTemplates);
    }
public function showAddSchedule()
    {
        $incidentTemplates = IncidentTemplate::all();

        return View::make('dashboard.maintenance.add')
            ->withPageTitle(trans('dashboard.schedule.add.title').' - '.trans('dashboard.dashboard'))
            ->withIncidentTemplates($incidentTemplates);
    }
public function showAddSchedule ( ) { $ incidentTemplates = IncidentTemplate :: all ( ) ; return View :: make ( 'dashboard.maintenance.add' ) -> withPageTitle ( trans ( 'dashboard.schedule.add.title' ) . ' - ' . trans ( 'dashboard.dashboard' ) ) -> withIncidentTemplates ( $ incidentTemplates ) ; }
Shows the add schedule maintenance form.

@return \Illuminate\View\View
Shows the add schedule maintenance form .