Files
@ c8218bb9d0ea
Branch filter:
Location: symposion_app/pinaxcon/templates/registrasion/product_category.html - annotation
c8218bb9d0ea
1.8 KiB
text/html
Correct variable name to reflect what it's naming
IT's not the container name, it's the image name. Fix the name to be
less confusing.
IT's not the container name, it's the image name. Fix the name to be
less confusing.
6c94eb9e91ee 6c94eb9e91ee 5409d4974aed 6c94eb9e91ee a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c eac35f3604c4 eac35f3604c4 eac35f3604c4 6c94eb9e91ee 1886323d7431 6c94eb9e91ee 6c94eb9e91ee a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c 6c94eb9e91ee a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee a3474fd9cd4c a3474fd9cd4c 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee a3474fd9cd4c 99ba4c177004 a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c 6c94eb9e91ee a3474fd9cd4c a3474fd9cd4c 6c94eb9e91ee a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee | {% extends "registrasion/base.html" %}
{% load registrasion_tags %}
{% load lca2018_tags %}
{% block header_title %}Product Category: {{ category.name }}{% endblock %}
{% block header_inset_image %}{% illustration "lavender.svg" %}{% endblock %}
{% block scripts_extra %}
{{ voucher_form.media.js }}
{{ form.media.js }}
<script type="text/javascript">
function showVoucherForm() {
$("#voucher-form").show();
$("#voucher-form-button").hide();
}
</script>
{% endblock %}
{% block content %}
<div class="btn-group">
<button id="voucher-form-button" class="btn btn-info" onclick="showVoucherForm()">Enter voucher code</button>
</div>
<form class="form-horizontal" method="post" action="">
{% csrf_token %}
<fieldset id="voucher-form" style="display: none;">
{% include "_form_snippet.html" with form=voucher_form %}
<div class="btn-group" />
<input class="btn btn-primary" type="submit" value="Add voucher" />
</div>
</fieldset>
<div class="vertical-bigger"></div>
{% 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 />
<div class="btn-group">
<input class="btn btn-primary" type="submit" value="Add to cart" />
<a href="{% url "dashboard" %}" class="btn btn-default">Return to dashboard</a>
</div>
</fieldset>
</form>
{% endblock %}
|