{% extends template_extends %}

{% load i18n %}

{% block content %}
  <h1>Subscribe</h1>

  <form method="post" action="{% url 'dfs_subscribe_add' %}">
    {% csrf_token %}
    <input type="hidden" name="action" value="confirm">
    <input type="hidden" name="plan_id" value="{{ plan.id }}">
    {{ plan_cost_form.as_p }}
    {% include 'subscriptions/snippets/payment_details.html' with form=payment_form %}
    <button type="submit">Confirm order</button>
  </form>
{% endblock %}
