<div class="row padding-1 p-1">

    <div class="col-md-12">

        <div class="form-group mb-2 mb20">

            <label for="nombre" class="form-label"><?php echo e(__('Nombre')); ?><span class="text-danger">*</span></label>

            <input type="text" name="nombre" class="form-control <?php $__errorArgs = ['nombre'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                value="<?php echo e(old('nombre', $centroTrabajo?->nombre)); ?>" id="nombre" placeholder="Nombre">

            <?php echo $errors->first('nombre', '<div class="invalid-feedback" role="alert"><strong>:message</strong></div>'); ?>


        </div>

        <div class="form-group mb-2 mb20">

            <label for="jefeArea" class="form-label">Jefe de Área<span class="text-danger">*</span></label>

            <input type="text" name="jefeArea" class="form-control <?php $__errorArgs = ['jefeArea'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                value="<?php echo e(old('jefeArea', $centroTrabajo?->jefeArea)); ?>" id="jefeArea" placeholder="Jefe de Área">

            <?php echo $errors->first('jefeArea', '<div class="invalid-feedback" role="alert"><strong>:message</strong></div>'); ?>


        </div>

        <div class="form-group mb-2 mb20">
            <label for="dependencia_id" class="form-label"><?php echo e(__('Dependencia')); ?><span
                    class="text-danger">*</span></label>
            <select name="dependencia_id" id="dependencia_id"
                class="form-control <?php $__errorArgs = ['dependencia_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                <option value=""><?php echo e(__('Selecciona una Dependencia')); ?></option>
                <?php $__currentLoopData = $dependencias; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $id => $nombre): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <option value="<?php echo e($id); ?>"
                        <?php echo e(old('dependencia_id', $centroTrabajo?->dependencia_id) == $id ? 'selected' : ''); ?>>
                        <?php echo e($nombre); ?></option>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </select>
            <?php echo $errors->first(
                'dependencia_id',
                '<div class="invalid-feedback" role="alert"><strong>:message</strong></div>',
            ); ?>

        </div>


        <div class="col-md-12 mt20 mt-2">

            <button type="submit" class="btn btn-primary"><?php echo e(__('Guardar')); ?></button>

        </div>
    </div>
<?php /**PATH C:\xampp\htdocs\laravel10\inven\resources\views/centro-trabajos/form.blade.php ENDPATH**/ ?>