{% with request.user.customer.current_subscription as subscription %} {% if subscription.status == "active" %}