<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>
<div class="academy-assignment-content__body academy-assignment-content__wrapper">
	<form action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>" method="post">
		<?php wp_nonce_field( 'academy_nonce', 'security' ); ?>
		<input type="hidden" value="academy_pro_start_assignment" name="action"/>
		<input type="hidden" value="<?php echo esc_attr( $assignment_id ); ?>" name="assignment_id"/>
		<input type="hidden" value="<?php echo esc_attr( $course_id ); ?>" name="course_id"/>
		<div class="academy-assignment-submit-button-con">
			<button type="submit" class="academy-btn academy-btn--md academy-btn--preset-purple" name="submit">
				<span class="academy-btn--label">
					<?php echo esc_html__( 'Start Assignment', 'academy-pro' ); ?>
				</span>
			</button>
		</div>
	</form>
</div>
