Fixing missing warning text and alignment

Fixed the missing warning text and alignment for {% if credit_card_data.last4 %}
This commit is contained in:
Polycarp Okock 2017-07-07 22:19:59 +03:00 committed by GitHub
parent 86c4e7b408
commit e90d0faa9e
1 changed files with 8 additions and 2 deletions

View File

@ -64,11 +64,17 @@
<h5 class="membership-lead">Type: {{credit_card_data.cc_brand}}</h5>
<input type="hidden" name="credit_card_needed" value="false"/>
</form>
<div class="col-xs-6">
<button style="width: 100px;" id="payment_button_with_creditcard" class="btn btn-success btn-sm btn-block" type="submit">
<div class="row">
<br>
<div>
<p style="font-family: Lato;border: 1px solid #a1a1a1;border-radius: 3px; padding: 5px; "> {% trans "You are not making any payment yet. After placing your order, you will be taken to the Submit Payment Page." %}</p>
</div>
<div class="col-xs-6 pull-right">
<button style="width: 100px; float: right; font-style: normal; font-weight: bold; position: absolute; right: 0;" id="payment_button_with_creditcard" class="btn btn-success" type="submit">
{% trans "Place Order" %}
</button>
</div>
</div>
{% else %}