

<?php $__env->startSection('title', 'Filtre - Lista'); ?>

<?php $__env->startSection('content_header',  $filtre->nume_filtru. '<small>lista valori</small>'); ?>
<?php $__env->startSection('content'); ?>
    <div class="row">
        <div class="col-xs-12">
            <div class="box">
                <div class="box-header">
                    <h3 class="box-title">Valori filtru: <?php echo e($filtre->filters_attributes_name); ?></h3>
                    <div class="box-tools">
                        <a href="<?php echo e(route('admin.valori.createValue' ,$filtre->id)); ?>" class="btn btn-box-tool" data-toggle="tooltip" title="Create" data-widget="chat-pane-toggle" data-original-title="Create"><i class="fa fa-plus"></i> Creare</a>
                    </div>
                </div>
                <?php if(count($filtreValue) > 0): ?>
                    <div class="box-body table-responsive no-padding">
                        <table class="table table-hover">
                            <tr>
                                <th>#</th>
                                <th>Valori filtru</th>
                                <th>&nbsp;</th>
                            </tr>
                            <?php foreach($filtreValue as $filtruValue): ?>
                                <tr>
                                    <td><?php echo e($filtruValue->id); ?></td>
                                    <td><?php echo e($filtruValue->filters_attributes_name); ?></td>
                                    <td class="text-right">
                                        <a href="<?php echo e(route('admin.valori.deleteValue', [$filtre->id, $filtruValue->id])); ?>" class="btn btn-danger btn-xs confirm-action">delete</a>
                                    </td>
                                </tr>
                            <?php endforeach; ?>
                        </table>
                    </div>
                    <?php if($filtreValue->hasPages()): ?>
                        <div class="box-footer">
                            <?php echo $filtreValue->render(); ?>

                        </div>
                    <?php endif; ?>
                <?php else: ?>
                    <div class="box-body">
                        <div class="alert alert-info">Nu exista atribute</div>
                    </div>
                <?php endif; ?>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>