@extends('layouts.app')
@section('content')
<div class="row" style="height: 100%; ">
            <div class="col-md-4">
            
            </div>
            <div class="col-md-4">
                <div class="white-box" style="border-radius: 5px">
                    <form id="textbookSubmissionForm" method="Post"
                        action=""
                        class="form-horizontal form-material new-lg-form">
                        <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
                        <input type="hidden" name="token" value="<?php echo csrf_token(); ?>">
                        <div class="form-group">
                            <label for="message-text" class="control-label">Departement :</label>
                            <select name="departement"  class="form-control" id="message-text1" required>
                                @foreach($departements as $departement)
                                <option value="$departement->idDepartement" > {{ $departement->sigledept }} </option>
                                @endforeach
                            </select>
                        </div>
                        <div class="form-group">
                            <label for="message-text" class="control-label">Filiere :</label>
                            <select name="filiere"  class="form-control" id="message-text1" required>
                                @foreach($filieres as $filiere)
                                <option value="$filiere->idFiliere" > {{ $filiere->intituleFilieres }} </option>
                                @endforeach
                            </select>
                        </div>
                        <div class="form-group">
                            <label for="message-text" class="control-label">Etudiant :</label>
                            <select name="etudiant"  class="form-control" id="message-text1" required>
                                @foreach($etudiants as $etudiant)
                                <option value="$etudiant->matricule" > {{ $etudiant->nom }} {{ $etudiant->prenom }} </option>
                                @endforeach
                            </select>
                        </div>
                    </form>
                </div>
            </div>
        </div>
@endsection
