Add id_card input element

This commit is contained in:
PCoder 2017-10-22 00:21:08 +02:00
parent 21bb336166
commit de5035d12e
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
<form action="" id="payment-form-new" method="POST"> <form action="" id="payment-form-new" method="POST">
<input type="hidden" name="token"/> <input type="hidden" name="token"/>
<input type="hidden" name="id_card" id="id_card" value=""/>
<div class="group"> <div class="group">
<div class="credit-card-goup"> <div class="credit-card-goup">
<div class="card-element card-number-element"> <div class="card-element card-number-element">

View file

@ -86,7 +86,7 @@
<h5 class="membership-lead">{% trans "Type" %}: {{card.brand}}</h5> <h5 class="membership-lead">{% trans "Type" %}: {{card.brand}}</h5>
</div> </div>
<div class="col-xs-6 text-right align-bottom"> <div class="col-xs-6 text-right align-bottom">
<a class="btn choice-btn choice-btn-faded" href="">{% trans "SELECT" %}</a> <a class="btn choice-btn choice-btn-faded" href="#" data-id_card="{{card.id}}">{% trans "SELECT" %}</a>
</div> </div>
</div> </div>
{% endfor %} {% endfor %}