public function showEditSchedule(Schedule $schedule)
    {
        $incidentTemplates = IncidentTemplate::all();

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

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

@param \CachetHQ\Cachet\Models\Schedule $schedule

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