<?php if (defined('AAM_KEY')) { ?>
    <div class="aam-feature settings" id="settings-core-content">
        <table class="table table-striped table-bordered">
            <tbody>
                <?php foreach($this->getList() as $id => $option) { ?>
                    <tr>
                        <td>
                            <span class='aam-setting-title'><?php echo $option['title']; ?></span>
                            <p class="aam-setting-description">
                                <?php echo $option['descr']; ?>
                            </p>
                        </td>
                        <td class="text-center">
                            <input data-toggle="toggle" name="<?php echo $id; ?>" id="utility-<?php echo $id; ?>" <?php echo ($option['value'] ? 'checked' : ''); ?> type="checkbox" data-on="Enabled" data-off="Disabled" data-size="small" />
                        </td>
                    </tr>
                <?php } ?>
            </tbody>
        </table>
    </div>
<?php }