{% extends 'auth_app\base.html' %}

{% block title %}Verify OTP{% endblock %}

{% block content %}
<h2 class="mb-4">Verify OTP</h2>
<form method="post">
    {% csrf_token %}
    <input type="hidden" name="action" value="{{ action }}">
    <div class="mb-3">
        <label for="otp_code" class="form-label">Enter OTP</label>
        <input type="text" class="form-control" id="otp_code" name="otp_code" required>
    </div>
    <button type="submit" class="btn btn-primary">Verify</button>
</form>
{% if error %}
<div class="alert alert-danger mt-3" role="alert">
    {{ error }}
</div>
{% endif %}
{% endblock %}