<div class="box">
    <div class="box-header bg-transparent">
        <!-- tools box -->
        <h3 class="box-title"><i class="icon-cogs"></i>
            <span><?php echo $view['translator']->trans('configuration.list.archive', [], 'config'); ?></span>
        </h3>
    </div>
    <!-- /.box-header -->
    <div class="box-body " style="display: block;">
        <div class="row">
            <div class="columns tableResp">
                <table>
                    <thead>
                    <tr>
                        <th><?php echo $view['translator']->trans('configuration.table.lp', [], 'config'); ?></th>
                        <th><?php echo $view['knp_pagination']->sortable($configurationArchive, $view['translator']->trans('configuration.table.groupName', [], 'config'), 'groupName'); ?></th>
                        <th><?php echo $view['knp_pagination']->sortable($configurationArchive, $view['translator']->trans('configuration.table.name', [], 'config'), 'name'); ?></th>
                        <th><?php echo $view['translator']->trans('configuration.table.value', [], 'config'); ?></th>
                        <th></th>
                    </tr>
                    </thead>
                    <tbody>
                    <?php foreach ($configurationArchive as $i => $configArchive): ?>
                        <tr data-id="<?php echo $configArchive->getId(); ?>">
                            <td><?php echo $i+1; ?></td>
                            <td><?php echo $configArchive->getGroupName(); ?></td>
                            <td><?php echo $configArchive->getName(); ?></td>
                            <td><?php echo $configArchive->getValue(); ?></td>
                            <td><?php echo ''; ?></td>
                        </tr>
                    <?php endforeach ?>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="row">
            <div class="medium-6 columns">
            </div>
            <div class="medium-6 columns paginationBox">
                <?php echo $view->render('KnpPaginatorBundle/Pagination/per_page.html.php', [
                    'knp_pagination' => $configurationArchive,
                ]); ?>

                <?php echo $view['knp_pagination']->render($configurationArchive); ?>
            </div>
        </div>
    </div>
</div>
