<div class="wrap">
    <h1><?php echo esc_html( $settings->title ); ?></h1>

    <?php if ($flash = $settings->flash->has()) { ?>
    <div class="notice notice-<?php echo esc_attr( $flash['status'] ); ?> is-dismissible">
        <p><?php echo esc_html( $flash['message'] ); ?></p>
    </div>
    <?php } ?>

    <?php if( $errors = $settings->errors->get_all() ) { ?>
        <div class="notice notice-error is-dismissible">
            <p><?php esc_html_e( 'Some problems were detected.', 'depicter' ); ?></p>
        </div>
    <?php } ?>

    <?php $settings->render_tab_menu(); ?>

    <?php $settings->render_active_sections(); ?>
</div>
``