Adds voucher_code html form
This commit is contained in:
parent
744c30b7cf
commit
2c087ace04
1 changed files with 26 additions and 0 deletions
26
pinaxcon/templates/registrasion/voucher_code.html
Normal file
26
pinaxcon/templates/registrasion/voucher_code.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
{% 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 %}
|
Loading…
Reference in a new issue