<div class="content-wrapper">
    <section class="content-header">
        <h1>Permisos</h1>
    </section>
    <section class="content">
        <div class="panel panel-default">
            <div class="panel-heading">Listado de permisos</div>
            <div class="panel-body">
                <table class="table table-bordered table-striped">
                    <thead>
                        <tr>
                            <th>ID</th>
                            <th>Nombre</th>
                            <th>Slug</th>
                            <th>Descripción</th>
                            <th>Estado</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach($permisos as $item): ?>
                        <tr>
                            <td><?php echo $item->id; ?></td>
                            <td><?php echo $item->nombre; ?></td>
                            <td><?php echo $item->slug; ?></td>
                            <td><?php echo $item->descripcion; ?></td>
                            <td><?php echo $item->estado ? 'Activo' : 'Inactivo'; ?></td>
                        </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </section>
</div>