/**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id)
 {
     $jurusan = Jurusan::all();
     $soal = Soal::find($id);
     $mapel = Mapel::all();
     return View('admin.soal.edit')->with('jurusan', $jurusan)->with('mapel', $mapel)->with('soal', $soal);
 }
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id)
 {
     $guru = Guru::find($id);
     $mapel = Mapel::all();
     $jurusan = Jurusan::all();
     return View('admin.guru.edit')->with('guru', $guru)->with('mapel', $mapel)->with('jurusan', $jurusan);
 }
 public function nilai()
 {
     $kelas = Kelas::all();
     $mapel = Mapel::all();
     return View('admin.laporan.nilai')->with('kelas', $kelas)->with('mapel', $mapel);
 }
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id)
 {
     $jadwal = Jadwal::find($id);
     $mapel = Mapel::all();
     return View('admin.jadwal.edit')->with('jadwal', $jadwal)->with('mapel', $mapel);
 }
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $mapel = Mapel::all();
     return View('admin.mapel.index')->with('mapel', $mapel);
 }