{% extends "_base.html" %} {% load static %} {% load filters %} {% block styles %} {{ block.super }} {% endblock styles %} {% block ui_active_tab %}'configuration'{% endblock ui_active_tab %} {% block page_description %}{% endblock page_description %} {% block breadcrumb %} {% include "voucher_types/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} {% block content %}

{% block form-title %}Enter voucher type details{% endblock %}

{% csrf_token %}
{% for field in form %}
{{ field|add_class:'form-control' }} {% if field.errors %} {{ field.errors }} {% endif %}
{% endfor %}
{% if voucher_type.study %}

Prices

{% for voucher_type_price in voucher_type.prices.all %} {% endfor %}
From To Price Edit
{{ voucher_type_price.start_date }} {{ voucher_type_price.end_date }} {{ voucher_type_price.price }} EDIT
{% endif %}
{% endblock %} {% endblock maincontent %} {% block scripts %} {{ block.super }} {% endblock scripts %}