

<?php $__env->startSection('headerScripts'); ?>
<script src="<?php echo e(asset('js/indicatorEntries.js')); ?>" type="text/javascript"></script>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>


<div class="page-title">
    <div class="row">
        <div class="col-12 col-md-6 order-md-1 order-last">
            <h3>Agregar informacion de indicadores</h3>
        </div>

    </div>
</div>
<section class="section">
    <div class="card">

        <div class="card-body">


            <div class="row mb-3">
                <div class="col-md-2">
                    <label for="indicator_id" class="col-form-label text-md-end">Indicador</label>
                </div>

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

                    <select id="indicator_id" class="form-control">
                        <option value="">-- Seleccionar indicador --</option>
                        <?php $__currentLoopData = $indicators; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $indicator): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($indicator->indicator_id); ?>"><?php echo e($indicator->name); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>

                </div>
                <div class="col-md-2">
                    <button class="btn btn-primary" onclick="return addIndicatorEntry();">Agregar indicador</button>
                </div>
            </div>

            <div class="row mb-3">
                <div class="col-md-2">
                    <label for="selected_year" class="col-form-label text-md-end">Año</label>
                </div>

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

                    <select id="selected_year" class="form-control">
                        <?php $__currentLoopData = $years; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $year): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($year); ?>" <?php echo e($year == $currentYear ? 'selected' : ''); ?>><?php echo e($year); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>

                </div>
            </div>


            <div id="indicatorEntries">

            </div>

        </div>
    </div>
</section>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp74\htdocs\own\lrvl_indicators\resources\views/indicatorEntries/addIndicator.blade.php ENDPATH**/ ?>