<div class="modal fade" id="ModalEdit">
    <div class="modal-dialog modal-lg modal-dialog-centered">
        <div class="modal-content">
            <form action="{{ route('update-Tache') }}" data-toggle="validator" role="form" method="POST">
                @csrf
                @method('PUT')
                <div class="modal-header py-1" style="background-color:#00563B;">
                    <h4 class="modal-title text-white">Modification</h4>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <div class="container">
                        <div class="row">
                            <div class="col-sm">
                                <div class="form-group">
                                    <label class="control-label" for="TypeTache_id">Nom type tâche</label>
                                    <select class="form-control" id="TypeTache_id" value="" name="TypeTache_id" style="height:43px;">
                                        <option selected>Choisir un type</option>
                                        @foreach ($TypeTache as $key)
                                        <option value="{{ $key->id }}">{{ $key->nomTypeTache }}</option>
                                        @endforeach
                                    </select>
                                    <input type="hidden" id="id" name="id" />
                                </div>
                            </div>

                        </div>
                        <div class="row">
                            <div class="col-sm">
                                <div class="form-group">
                                  <div class="form-group">
                                    <label class="control-label" for="note">note</label>
                                     <textarea id="note" name="note"></textarea>
                                    </select>
                                   </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer justify-content-between">
                    <button type="button" class="btn btn-danger" data-dismiss="modal">Fermer</button>
                    <button type="submit" class="btn btn-primary" id="btnFormEnreg">Modifier</button>
                </div>
            </form>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
