d4b0b52253
Show applied vouchers on attendee registration admin page. Add head title and page title to more areas. Update the dashboard to show warning for empty categories and have button to open voucher page. Fix exception on attendee page when user does not have attendee object.
23 lines
620 B
HTML
23 lines
620 B
HTML
{% extends "registrasion/base.html" %}
|
|
{% load crispy_forms_tags %}
|
|
|
|
{% block head_title %}Apply Voucher{% endblock %}
|
|
{% block page_title %}Apply Voucher{% endblock %}
|
|
|
|
{% block proposals_body %}
|
|
<form method="post" action="">
|
|
{% csrf_token %}
|
|
|
|
<div class="panel panel-primary">
|
|
<div class="panel-body">
|
|
{{ voucher_form|crispy}}
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
|
<input class="btn btn-primary" type="submit" value="Apply voucher code" />
|
|
<a href="{% url "dashboard" %}" class="btn btn-default">Back to dashboard</a>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
{% endblock %}
|