works but cannot change address
This commit is contained in:
43
rowers/templates/buy_trainingplan.html
Normal file
43
rowers/templates/buy_trainingplan.html
Normal file
@@ -0,0 +1,43 @@
|
||||
{% extends "newbase.html" %}
|
||||
{% block title %}Rowsandall Purchase Training Plan{% endblock title %}
|
||||
{% load rowerfilters %}
|
||||
{% block main %}
|
||||
|
||||
<h1>Purchase Training Plan</h1>
|
||||
|
||||
<form action="" method="post">
|
||||
<ul class="main-content">
|
||||
<li class="grid_3">
|
||||
<h2>Billing Details</h2>
|
||||
<p>For tax reasons, we need your country of residence. You should
|
||||
update this when it is incorrect.</p>
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
{{ billingaddressform.as_table }}
|
||||
</table>
|
||||
</li>
|
||||
<li class="grid_3">
|
||||
<h2>Your Purchase</h2>
|
||||
|
||||
<p>Plan: {{ plan.name }}</p>
|
||||
<p>Price: {{ plan.price }}€</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
Your purchase will be effective immediately. You will be charged
|
||||
for the price of the plan.
|
||||
</p>
|
||||
</li>
|
||||
<li class="grid_3">
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="Proceed">
|
||||
You will be able to review your order before finalizing your purchase.
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
{% include 'menu_payments.html' %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user