Add product hidden input type

To distinguish generic-payment-form submit
This commit is contained in:
PCoder 2018-09-25 01:56:06 +02:00
parent 481f13d20c
commit b348c93fee

View file

@ -72,6 +72,7 @@
<hr class="top-hr"> <hr class="top-hr">
<form role="form" id="generic-payment-form" method="post" action="" novalidate> <form role="form" id="generic-payment-form" method="post" action="" novalidate>
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="product" value="1" />
{% for field in generic_payment_form %} {% for field in generic_payment_form %}
{% bootstrap_field field show_label=False type='fields'%} {% bootstrap_field field show_label=False type='fields'%}
{% endfor %} {% endfor %}