<?php

namespace PHPMaker2021\rdigital21;

// Table
$materi = Container("materi");
?>
<?php if ($materi->Visible) { ?>
<div class="ew-master-div">
<table id="tbl_materimaster" class="table ew-view-table ew-master-table ew-vertical">
    <tbody>
<?php if ($materi->materi_id->Visible) { // materi_id ?>
        <tr id="r_materi_id">
            <td class="<?= $materi->TableLeftColumnClass ?>"><?= $materi->materi_id->caption() ?></td>
            <td <?= $materi->materi_id->cellAttributes() ?>>
<span id="el_materi_materi_id">
<span<?= $materi->materi_id->viewAttributes() ?>>
<?= $materi->materi_id->getViewValue() ?></span>
</span>
</td>
        </tr>
<?php } ?>
<?php if ($materi->kode_mapel->Visible) { // kode_mapel ?>
        <tr id="r_kode_mapel">
            <td class="<?= $materi->TableLeftColumnClass ?>"><?= $materi->kode_mapel->caption() ?></td>
            <td <?= $materi->kode_mapel->cellAttributes() ?>>
<span id="el_materi_kode_mapel">
<span<?= $materi->kode_mapel->viewAttributes() ?>>
<?= $materi->kode_mapel->getViewValue() ?></span>
</span>
</td>
        </tr>
<?php } ?>
<?php if ($materi->kode->Visible) { // kode ?>
        <tr id="r_kode">
            <td class="<?= $materi->TableLeftColumnClass ?>"><?= $materi->kode->caption() ?></td>
            <td <?= $materi->kode->cellAttributes() ?>>
<span id="el_materi_kode">
<span<?= $materi->kode->viewAttributes() ?>>
<?= $materi->kode->getViewValue() ?></span>
</span>
</td>
        </tr>
<?php } ?>
<?php if ($materi->tujuan_pembelajaran->Visible) { // tujuan_pembelajaran ?>
        <tr id="r_tujuan_pembelajaran">
            <td class="<?= $materi->TableLeftColumnClass ?>"><?= $materi->tujuan_pembelajaran->caption() ?></td>
            <td <?= $materi->tujuan_pembelajaran->cellAttributes() ?>>
<span id="el_materi_tujuan_pembelajaran">
<span<?= $materi->tujuan_pembelajaran->viewAttributes() ?>>
<?= $materi->tujuan_pembelajaran->getViewValue() ?></span>
</span>
</td>
        </tr>
<?php } ?>
    </tbody>
</table>
</div>
<?php } ?>
