Splits out voucher_code.html

This commit is contained in:
Christopher Neugebauer 2017-05-27 11:17:51 -07:00
parent a093885650
commit 982a762682

View file

@ -1,26 +0,0 @@
{% extends "registrasion/base.html" %}
{% load bootstrap %}
{% block body %}
<h1>Enter voucher code</h1>
<p>If you have a voucher code, you can enter it here to get
discounts on products, or unlock products that aren't otherwise
available.</p>
<form method="post" action="">
{% csrf_token %}
<table>
{{ voucher_form|bootstrap }}
</table>
<div class="form-actions">
<input class="btn btn-primary" type="submit" value="Apply voucher code" />
<a href="{% url "dashboard" %}" class="btn btn-default">Back to dashboard</a>
</div>
</form>
{% endblock %}