{% if course.learner_can_retake? %}
	<form action="{% route course_retake, id: course.id %}" method="POST">
		{% form_authenticity_token %}
		<button type="submit" class="np-top-button np-button-font-color np-button np-button-big">
			Restart Course
		</button>
	</form>
{% else %}
	<a
		class="np-top-button np-button-font-color np-button np-button-big"
	{% if course.enrolled? %}
			href="{% route course_viewer, course_id: course.id, learning_path_id: params.learning_path_id %}"
	{% else %}
			href="{% route course_enrollment, code: course.enrollment_code %}"
	{% endif %}
	>
		{% if course.enrolled? == false %}
			Enroll in Course
		{% elsif course.started? == false %}
			Start Course
		{% elsif course.completed? %}
			View Course
		{% else %}
			Continue Course
		{% endif %}
	</a>
{% endif %}