<div class="form-group <?php echo e($errors->has('nom') ? 'has-error' : ''); ?>">
    <label for="nom" class="control-label"><?php echo e('Nom'); ?></label>
    <input class="form-control" name="nom" type="text" id="nom" value="<?php echo e(isset($membrejury->nom) ? $membrejury->nom : ''); ?>" >
    <?php echo $errors->first('nom', '<p class="help-block">:message</p>'); ?>

</div>
<div class="form-group <?php echo e($errors->has('prenoms') ? 'has-error' : ''); ?>">
    <label for="prenoms" class="control-label"><?php echo e('Prenoms'); ?></label>
    <input class="form-control" name="prenoms" type="text" id="prenoms" value="<?php echo e(isset($membrejury->prenoms) ? $membrejury->prenoms : ''); ?>" >
    <?php echo $errors->first('prenoms', '<p class="help-block">:message</p>'); ?>

</div>
<div class="form-group <?php echo e($errors->has('email') ? 'has-error' : ''); ?>">
    <label for="email" class="control-label"><?php echo e('Email'); ?></label>
    <input class="form-control" name="email" type="email" id="email" value="<?php echo e(isset($membrejury->email) ? $membrejury->email : ''); ?>" >
    <?php echo $errors->first('email', '<p class="help-block">:message</p>'); ?>

</div>
<div class="form-group <?php echo e($errors->has('phone') ? 'has-error' : ''); ?>">
    <label for="phone" class="control-label"><?php echo e('Phone'); ?></label>
    <input class="form-control" name="phone" type="text" id="phone" value="<?php echo e(isset($membrejury->phone) ? $membrejury->phone : ''); ?>" >
    <?php echo $errors->first('phone', '<p class="help-block">:message</p>'); ?>

</div>
<div class="form-group <?php echo e($errors->has('description') ? 'has-error' : ''); ?>">
    <label for="description" class="control-label"><?php echo e('Description'); ?></label>
    <input class="form-control" name="description" type="text" id="description" value="<?php echo e(isset($membrejury->description) ? $membrejury->description : ''); ?>" >
    <?php echo $errors->first('description', '<p class="help-block">:message</p>'); ?>

</div>
<div class="form-group <?php echo e($errors->has('qualite') ? 'has-error' : ''); ?>">
    <label for="qualite" class="control-label"><?php echo e('Qualite'); ?></label>
    <input class="form-control" name="qualite" type="text" id="qualite" value="<?php echo e(isset($membrejury->qualite) ? $membrejury->qualite : ''); ?>" >
    <?php echo $errors->first('qualite', '<p class="help-block">:message</p>'); ?>

</div>
<div class="form-group <?php echo e($errors->has('sexe') ? 'has-error' : ''); ?>">
    <label for="sexe" class="control-label"><?php echo e('Sexe'); ?></label>
    <select name="sexe" class="form-control" id="sexe" >
        <option value="M" <?php echo e((isset($membrejury->sexe) && $membrejury->sexe == "M") ? 'selected' : ''); ?>>M</option>
        <option value="F" <?php echo e((isset($membrejury->sexe) && $membrejury->sexe == "F") ? 'selected' : ''); ?>>F</option>
    </select>
    <?php echo $errors->first('sexe', '<p class="help-block">:message</p>'); ?>

</div>
<div class="form-group <?php echo e($errors->has('id_grade') ? 'has-error' : ''); ?>" required="required">
    <label for="id_grade" class="control-label"><?php echo e('grade'); ?></label>
    <select name="id_grade" class="form-control" id="id_grade"  required>
    <?php $__currentLoopData = $grades; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $grade): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <option
            value="<?php echo e($grade->idGrade); ?>"
            <?php echo e((isset($membrejury->grade) && $membrejury->grade == $grade->idGrade) ? 'selected' : ''); ?>

        >
                <?php echo e($grade->nomGrade); ?>

        </option>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </select>
    <?php echo $errors->first('id_grade', '<p class="help-block">:message</p>'); ?>

</div>
<!--div class="form-group <?php echo e($errors->has('type') ? 'has-error' : ''); ?>">
    <label for="type" class="control-label"><?php echo e('Type'); ?></label>
    <select name="type" class="form-control" id="type" >
    <?php $__currentLoopData = json_decode('{"interne":"interne","externe":"externe"}', true); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $optionKey => $optionValue): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <option value="<?php echo e($optionKey); ?>" <?php echo e((isset($membrejury->type) && $membrejury->type == $optionKey) ? 'selected' : ''); ?>><?php echo e($optionValue); ?></option>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </select>
    <?php echo $errors->first('type', '<p class="help-block">:message</p>'); ?>

</div>
<div-- class="form-group <?php echo e($errors->has('matricule') ? 'has-error' : ''); ?>">
    <label for="matricule" class="control-label"><?php echo e('Matricule'); ?></label>
    <input class="form-control" name="matricule" type="number" id="matricule" value="<?php echo e(isset($membrejury->matricule) ? $membrejury->matricule : ''); ?>" >
    <?php echo $errors->first('matricule', '<p class="help-block">:message</p>'); ?>

</div-->

<div class="form-group">
    <input class="btn btn-primary" type="submit" value="<?php echo e($formMode === 'edit' ? 'Modifier' : 'Créer'); ?>">
</div>
<?php /**PATH /home/africawebstudent/public_html/aws/gestjury/resources/views/admin/membre-jury/form.blade.php ENDPATH**/ ?>