<div class="modal fade" id="modalContrats">
    <div class="modal-dialog modal-lg modal-dialog-centered">
        <div class="modal-content">
            <form id="formOrg" action="{{ route('Tache.store') }}" data-toggle="validator" role="form" method="POST" enctype="multipart/form-data">
                @csrf
                <div class="modal-header py-1" style="background-color:#00563B;">
                    <h4 class="modal-title text-white">Tâche</h4>
                    <button type="button" class="close text-white" 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>
                                </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="summer" name="note"></textarea>
                                    </select>
                                   </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer justify-content-between">
                    <button type="button" class="btn btn-danger pull-left" data-dismiss="modal">Fermer</button>
                    <button type="submit" class="btn btn-primary" id="btnFormEnreg">Enregistrer</button>
                </div>
            </form>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>

