<?php
/**
 * Student attempt page
 *
 * @package Tutor\Views
 * @author Themeum <support@themeum.com>
 * @link https://themeum.com
 * @since 2.0.0
 */

if ( empty( $back_url ) ) {
	return;
}
?>

<header class="tutor-wp-dashboard-header tutor-justify-between tutor-align-center tutor-px-32 tutor-py-20 tutor-mb-24 tutor-pt-16 tutor-pb-16">
	<div class="tutor-mb-24">
		<a class="tutor-btn tutor-btn-ghost" href="<?php echo esc_url( $back_url ); ?>">
			<span class="tutor-icon-previous" aria-hidden="true"></span>
			<?php esc_html_e( 'Back', 'tutor' ); ?>
		</a>
	</div>

	<div class="tutor-fs-7 tutor-color-secondary">
		<?php echo esc_html__( 'Course', 'tutor' ) . ': ' . esc_html( $course_title ); ?>
	</div>
	<div class="header-title tutor-fs-5 tutor-fw-medium tutor-color-black tutor-mt-12">
		<?php echo esc_html__( 'Quiz', 'tutor' ) . ': ' . esc_html( $quiz_title ); ?>
	</div>
</header>
