Changeset - cabad1c7d5f1
[Not reviewed]
0 1 0
James Polley - 6 years ago 2017-12-23 12:05:56
jp@jamezpolley.com
Change "Apply voucher" button into a link

I can't find the form that should be displayed here, so the simplest
thing I can do at 11pm is to make this a link. That's unsatisfying but
hopefully works.
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/registrasion/review.html
Show inline comments
...
 
@@ -11,6 +11,7 @@
 

	
 
{% block scripts_extra %}
 
  {{ voucher_form.media.js }}
 
  {{ form.media.js }}
 

	
 
  <script type="text/javascript">
 
    function showVoucherForm() {
...
 
@@ -24,7 +25,7 @@
 

	
 

	
 
{% block content %}
 
  <button id="voucher-form-button" class="btn" onclick="showVoucherForm()">Enter voucher code</button>
 
  <a id="voucher-form-button" class="btn btn-info" href="{% url "voucher_code" %}">Enter voucher code</a>
 

	
 
  {% items_pending as pending %}
 
  {% if pending %}
0 comments (0 inline, 0 general)