<!-- Modal Edita banner-->
  <!-- Modal add Usuario-->
  <div class="modal fade" id="modalEditar{{$user->id}}" tabindex="-1" role="dialog" aria-labelledby="modalEditar{{$user->id}}" aria-hidden="true">
    <div class="modal-dialog modal-dialog" role="document">
      <div class="modal-content">
        <div class="modal-header text-right">
          <h5 class="text-center">Ediar usuário</h5>
        </div>
        <div class="modal-body">
          <div class="card">
            <div class="card-body">
              <form action="{{ route('admin.updateUser') }}" method="POST" enctype="multipart/form-data">
                {{ csrf_field() }}
                {{--nome--}}
                <div class="col">
                  <input  hidden class="form-control form-control-sm"  type="text" name="id" value="{{$user->id}}" required>
                </div>
                <div class="row">
                  <div class="col-2 text-right">
                    <label>Nome</label>
                  </div>

                  <div class="col">
                    <input class="form-control form-control-sm" type="text" name="name" value="{{$user->name}}" required>
                  </div>
                </div>
                {{--email--}}
                <div class="row">
                  <div class="col-2 text-right">
                    <label>E-mail</label>
                  </div>
                  <div class="col">
                    <input class="form-control form-control-sm" type="email" name="email" value="{{$user->email}}" required>
                  </div>
                </div>
                {{--pass--}}
                <div class="row">
                  <div class="col-2 text-right">
                    <label>Senha</label>
                  </div>
                  <div class="col">
                    <input class="form-control form-control-sm" type="password" name="pass" value="" required>
                  </div>
                </div>
                <div class=" modal-footer">
                  <button type="button" align="center" class="btn btn-secondary" data-dismiss="modal">Fechar</button>
                  <button id="btnModal" type="submit" align="center" class="btn btn-success">Salvar</button>
                </div>
                <p>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
