<form action="<?php echo e(route('candidaturas.update', $candidatura->candidatura_id)); ?>" method="POST">
    <?php echo csrf_field(); ?>
    <?php echo method_field('PUT'); ?>
<!-- Modal -->
<div class="modal fade" id="modal_editar_candidatura<?php echo e($candidatura->candidatura_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">Avaliar candidatura</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="nome_candidato" class="form-label">Candidato</label>
            <input
                    type="text"
                    id="nome_candidato"
                    name="nome_candidato"
                    class="form-control"
                    value="<?php echo e($candidatura->nome_candidato); ?>"
                    disabled />
            </div>
        </div>

        <div class="row">
            <div class="col mb-6">
            <label for="status" class="form-label">Status</label>
            <select class="form-select" id="status" name="status">
                <option  selected disabled>
                    <?php if(isset($candidatura->status)): ?>
                        <?php echo e($candidatura->status); ?>

                    <?php else: ?>
                        Escolher
                    <?php endif; ?>
                </option>
                              
                <option value="Pendente">Pendente</option>
                <option value="Aprovado">Aprovado</option>
                <option value="Rejeitado">Rejeitado</option>
                              
                </select>
            </div>
        </div>



    
        </div>
        <div class="modal-footer">
        <button type="submit" class="btn btn-primary">Salvar</button>
        </div>
    </div>
    </div>
</div>
</form>                 <?php /**PATH C:\laragon\www\website-van_thanh\resources\views/dashboard/admin/pages/candidaturas/_includes/modal-editar-candidatura.blade.php ENDPATH**/ ?>