<!-- Modal -->
<div class="modal fade" id="modal_usuario" 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">Cadastro de usuários</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="nameBasic" class="form-label">Nome completo</label>
            <input
                    type="text"
                    id="nome_completo"
                    name="nome_completo"
                    class="form-control"
                    placeholder="Nome completo" />
            </div>
        </div>

        <div class="row">
            <div class="col mb-6">
            <label for="nameBasic" class="form-label">E-mail de acesso</label>
            <input
                    type="email"
                    id="email_acesso"
                    name="email_acesso"
                    class="form-control"
                    placeholder="E-mail de acesso" />
            </div>
        </div>
    

        <div class="row">
            <div class="col mb-6">
            <label for="nameBasic" class="form-label">Palavra-chave</label>
            <input
                    type="password"
                    id="password"
                    name="password"
                    class="form-control"
                    placeholder="Palavra-chave" />
            </div>
        </div>

        <div class="row">
            <div class="col mb-6">
                <label class="form-label" for="painel">Painel</label>
                <div class="input-group input-group-merge">
                <span id="basic-icon-default-company2" class="input-group-text"
                    ><i class="icon-base bx bx-tag"></i
                ></span>
                <select class="form-select" id="painel" name="painel">
                    <option  selected disabled>
                        @if (isset($usuario->painel))
                            {{ $usuario->painel }}
                        @else
                            Escolher
                        @endif
                    </option>
                    <option value="Administrador">Administrador</option>
                    <option value="Outro">Outro</option>
                              
                             
                </select>
                </div>
            </div>
        </div>
        <div class="row g-6">
            <div class="col mb-0">
                <label class="form-label" for="status">Estado</label>
                <div class="input-group input-group-merge">
                <span id="basic-icon-default-company2" class="input-group-text"
                    ><i class="icon-base bx bx-tag"></i
                ></span>
                <select class="form-select" id="status" name="status">
                    <option  selected disabled>
                        @if (isset($usuario->status))
                            {{ $usuario->status }}
                        @else
                            Escolher
                        @endif
                    </option>
                    <option value="1">Activo</option>
                    <option value="0">Desativado</option>
                              
                             
                </select>
                </div>
            </div>
        </div>
        </div>
        <div class="modal-footer">
        <button type="button" class="btn btn-label-secondary" data-bs-dismiss="modal">
            Close
        </button>
        <button type="submit" class="btn btn-primary">Salvar</button>
        </div>
    </div>
    </div>
</div>
                      