/**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id)
 {
     $report_dates = ReportDate::lists('petsa', 'id');
     $dropout_graduate = DropoutGraduate::findOrFail($id);
     $sectors = Sector::all()->lists('name', 'id');
     $subsectors = Subsector::findOrFail($dropout_graduate->occupation->subsector->id)->lists('name', 'id');
     $occupations = Occupation::findOrFail($dropout_graduate->occupation->id)->lists('name', 'id');
     return view('tviadmin.dropout_graduates.edit', compact('dropout_graduate', 'sectors', 'subsectors', 'occupations', 'report_dates'));
 }