<?php
$body_template = 'boxes/' . $args['template'] . '.php';
?>

<div class="txw-box" data-id="<?php echo esc_attr( $args['id'] ); ?>">
    <div class="txw-box-header">
		<?php
        if ( $args['lock'] ) {
			TX_Dashboard::get_template( 'partials/box-status.php' );
		}
		?>
        <h2 class="box-title"><?php echo esc_html( $args['title'] ); ?></h2>
    </div>

	<?php TX_Dashboard::get_template( $body_template ); ?>
</div>
