<form action="{{route('usuarios.update', $usuario->usuario_id)}}" method="POST">
    @csrf
    @method('PUT')
<!-- Modal -->
<div class="modal fade" id="modal_editar_usuario{{$usuario->usuario_id}}" tabindex="-1" aria-hidden="true">
    <div class="modal-dialog" role="document">
    <div class="modal-content">
        <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel1">Editar estado de conta</h5>
        <button
                type="button"
                class="btn-close"
                data-bs-dismiss="modal"
                aria-label="Close"></button>
        </div>
        <div class="modal-body">
        <div class="row">
            <div class="col mb-6">
            <label for="emal_acesso" class="form-label">Usuário</label>
            <input
                    type="text"
                    id="emal_acesso"
                    name="emal_acesso"
                    class="form-control"
                    value="{{$usuario->email_acesso}}"
                    disabled />
            </div>
        </div>

        <div class="row">
            <div class="col mb-6">
            <label for="status_editar" class="form-label">Status</label>
            <select class="form-select" id="status_editar" name="status">
                    <option  selected disabled>
                        @if (isset($usuario->status))
                            @if ($usuario->status) Activado @else Desativado @endif
                        @else
                            Escolher
                        @endif
                    </option>
                    <option value="1">Activado</option>
                    <option value="0">Desativado</option>
                              
                             
                </select>
            </div>
        </div>



    
        </div>
        <div class="modal-footer">
        <button type="submit" class="btn btn-primary">Salvar</button>
        </div>
    </div>
    </div>
</div>
</form>                 