Got rid of javascript-based random generator

This commit is contained in:
Raphael Michel
2016-08-29 23:46:17 +02:00
parent a86e706244
commit dc3e1e3d30
6 changed files with 50 additions and 27 deletions

View File

@@ -18,7 +18,7 @@
placeholder="{% trans "Number" %}">
<div class="input-group-btn">
<button class="btn btn-default" type="button" id="voucher-bulk-codes-generate"
data-length="{{ code_length }}">
data-rng-url="{% url 'control:event.vouchers.rng' organizer=request.event.organizer.slug event=request.event.slug %}">
{% trans "Generate random codes" %}
</button>
</div>