<?php ! defined( 'ABSPATH' ) && exit(); ?><div class="totalpoll-tabs-container">
    <div class="totalpoll-tab-content active">
        <div class="totalpoll-options-debug">
            <table class="wp-list-table widefat totalpoll-options-list">
                <tbody>
                <tr ng-repeat-start="(key, value) in $ctrl.debug track by $index"></tr>
                <tr class="totalpoll-options-list-title">
                    <td colspan="2">{{key}}</td>
                </tr>
                <tr ng-repeat="(subkey, subvalue) in value track by $index" class="totalpoll-options-list-entry">
                    <td>{{subkey}}</td>
                    <td ng-bind-html="subvalue|table:'group'"></td>
                </tr>
                <tr ng-repeat-end></tr>
                </tbody>
            </table>

            <p>
                <button type="button" ng-click="$ctrl.downloadDebugInformation()" class="button button-primary button-large"><?php _e( 'Download', 'totalpoll' ); ?></button>
            </p>
        </div>
    </div>
</div>