Allow payment providers to process user input

This commit is contained in:
Raphael Michel
2015-03-06 23:35:48 +01:00
parent e630858a35
commit e57b23e616
4 changed files with 47 additions and 4 deletions

View File

@@ -21,7 +21,8 @@
</label>
</h4>
</div>
<div id="payment_{{ p.provider.identifier }}" class="panel-collapse collapse">
<div id="payment_{{ p.provider.identifier }}"
class="panel-collapse collapse {% if request.POST.payment == p.provider.identifier %}in{% endif %}">
<div class="panel-body form-horizontal">
{{ p.form }}
</div>