Files
@ 64b4d93470bd
Branch filter:
Location: symposion_app/pinaxcon/templates/registrasion/product_category.html - annotation
64b4d93470bd
1.1 KiB
text/html
Add django-user-accounts app for use in place of SSO
6c94eb9e91ee 6c94eb9e91ee 5409d4974aed 6c94eb9e91ee 539fa2dfdd2b a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c 74dc779999c4 a3474fd9cd4c 74dc779999c4 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee a3474fd9cd4c 6c94eb9e91ee 6c94eb9e91ee 539fa2dfdd2b 99ba4c177004 a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c 6c94eb9e91ee 539fa2dfdd2b a3474fd9cd4c 6c94eb9e91ee a3474fd9cd4c 539fa2dfdd2b 539fa2dfdd2b a3474fd9cd4c 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee | {% extends "registrasion/base.html" %}
{% load registrasion_tags %}
{% load lca2018_tags %}
{% block page_title %}Product Category: {{ category.name }}{% endblock %}
{% block scripts_extra %}
{{ voucher_form.media.js }}
{{ form.media.js }}
{% endblock %}
{% block proposals_body %}
<form class="form-horizontal my-4" method="post" action="">
{% csrf_token %}
{% items_purchased category as items %}
{% if items %}
<h3>Paid items</h3>
<p>You have already paid for the following items:</p>
{% include "registrasion/_items_list.html" with items=items %}
{% endif %}
<h2>{{ category.name }}</h2>
<blockquote>{{ category.description|safe }}</blockquote>
<fieldset>
{% if discounts %}
{% include "registrasion/discount_list.html" with discounts=discounts %}
{% endif %}
<h3>Make a selection</h3>
{% include "_form_snippet.html" with form=form %}
<br />
<input class="btn btn-primary" type="submit" value="Add to cart" />
<a href="{% url "dashboard" %}" class="btn btn-link">Return to dashboard</a>
</fieldset>
</form>
{% endblock %}
|