<div class="row layout-spacing">
    <div class="col-lg-12">
        <div class="statbox widget box box-shadow">
            <div class="widget-content widget-content-area">
                <table id="style-3" class="table style-3  table-hover">
                    <thead>
                        <tr>
                            <th class="text-center">Aksi</th>
                            <th class="text-center">Level</th>
                            <th class="text-center">Judul Dokumentasi</th>
                            <th class="text-center">Keterangan Dokumentasi</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach ($data_table as $Data_table) : ?>
                        <tr>
                            <td class="text-center">
                                <a href="<?= base_url('owner/dokumentasi/update/' . $this->encrypt->encode($Data_table->id)) ?>"
                                    target="_blank" class="btn btn-primary btn-sm" class="bs-tooltip">Update</a>
                                <a href="<?= base_url('owner/dokumentasi/lihat/' . $this->encrypt->encode($Data_table->id)) ?>"
                                    target="_blank" class="btn btn-primary btn-sm" class="bs-tooltip">Lihat</a>
                            </td>
                            <td class="text-center">
                                <?php
                                    foreach ($data_role as $Data_role) :
                                        if ($Data_table->role_level == $Data_role->id) :
                                            echo $Data_role->role_level;
                                        # code...
                                        endif;
                                    endforeach;
                                    ?>
                            </td>
                            <td class="text-left">
                                <?= $Data_table->jdl_doc; ?>
                            </td>
                            <td class="text-left">
                                <?= $Data_table->ket_doc; ?>
                            </td>
                        </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>