Files
@ 62d5c5b2bf33
Branch filter:
Location: symposion_app/registrasion/templates/product_category.html - annotation
62d5c5b2bf33
1.1 KiB
text/html
Revert "Registrasion URLs now include django-nested-admin"
This reverts commit 58eed33c429c1035801e840b41aa7104c02b9b5a.
This reverts commit 58eed33c429c1035801e840b41aa7104c02b9b5a.
1b7d8a60c119 1b7d8a60c119 1b7d8a60c119 1b7d8a60c119 1b7d8a60c119 1b7d8a60c119 1b7d8a60c119 1b7d8a60c119 1b7d8a60c119 745f6db444fa 2d6b28c5a6da 2d6b28c5a6da 2d6b28c5a6da 2d6b28c5a6da 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 941b05786554 1b7d8a60c119 745f6db444fa 1b7d8a60c119 1b7d8a60c119 941b05786554 1b7d8a60c119 1b7d8a60c119 1b7d8a60c119 745f6db444fa 1b7d8a60c119 | <!--- Sample template. Move elsewhere once it's ready to go. -->
{% extends "site_base.html" %}
{% block body %}
<h1>Product Category: {{ category.name }}</h1>
<form method="post" action="">
{% csrf_token %}
<table>
{{ voucher_form }}
</table>
<p><input type="submit"></p>
{% if discounts %}
<h3>Available Discounts</h3>
<ul>
{% for discount in discounts %}
<li>{{ discount.quantity }} x
{% if discount.clause.percentage %}
{{ discount.clause.percentage|floatformat:"2" }}%
{% else %}
${{ discount.clause.price|floatformat:"2" }}
{% endif %}
off
{% if discount.clause.category %}
{{ discount.clause.category }}
{% else %}
{{ discount.clause.product.category }}
- {{ discount.clause.product }}
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
<h3>Available Products</h3>
<p>{{ category.description }}</p>
<table>
{{ form }}
</table>
<p><input type="submit"></p>
</form>
{% endblock %}
|