{% extends 'base.html' %}
{% block title %}Enroll — {{ course.name|default:'Course' }}{% endblock %}
{% block content %}
<div class="auth-wrapper">
  <div class="auth-card">
    <h2>Enroll</h2>
    <p style="color:var(--text-muted);">Enter your details to enroll in this course.</p>
    <form method="post">
      {% csrf_token %}
      {{ form.as_p }}
      <button class="btn-gold" type="submit">Continue</button>
    </form>
  </div>
</div>
{% endblock %}
