{% extends "base.html" %}

{% block content %}
  <h1 class="title">Access denied</h1>
  <h2 class="subtitle">Sorry, you do not have the necessary permissions to view this page.</h2>
  <div class="col">
    {% if user.subscription_active %}
      {% include 'checkout.html' %}
    {% else %}
      <h2> Please setup a payment mandate in the profile page to view products </h2>
    {% endif %}
  </div>

{% endblock %}
