app/Http/Controllers/EleveController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create(Tuteur $tuteur)
    {
        $niveaux = Level::all();
        return view ('eleves.create', compact('niveaux','tuteur'));
    }
public function create ( Tuteur $ tuteur ) { $ niveaux = Level :: all ( ) ; return view ( 'eleves.create' , compact ( 'niveaux' , 'tuteur' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .