Changeset View
Changeset View
Standalone View
Standalone View
subscriptions/templates/subscriptions/components/payment_form.html
| {# If a subscription already exists, require to confirm #} | {# If a subscription already exists, require to confirm #} | ||||
| <div class="row"> | <div class="row"> | ||||
| <div class="col"> | <div class="col"> | ||||
| {% with field=form.approve_new_subscription %} | {% with field=form.approve_new_subscription %} | ||||
| {% if field.required %} | {% if field.required %} | ||||
| {% include "common/components/field_label_wrapped.html" %} | {% include "common/components/field_label_wrapped.html" %} | ||||
| {% endif %} | {% endif %} | ||||
| {% endwith %} | {% endwith %} | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| {# Payment process specific form fields, most of them a hidden and don't require special templating. #} | {# Payment process specific form fields, most of them a hidden and don't require special templating. #} | ||||
| <div class="row"> | <div class="row"> | ||||
| {{ form.next_url_after_done }} | {{ form.next_url_after_done }} | ||||
| {{ form.payment_method_nonce }} | {{ form.payment_method_nonce }} | ||||
| {{ form.device_data }} | {{ form.device_data }} | ||||
| {{ form.price }} | {{ form.price }} | ||||
| <div class="col"> | <div class="col"> | ||||
| <ul class="looper-select" id="id_gateway"> | <ul class="looper-select" id="id_gateway"> | ||||
| {% with field=form.gateway %} | {% with field=form.gateway %} | ||||
| {% for radio in field %} | {% for radio in field %} | ||||
| <li class="looper-select-option looper-select-option-{{ forloop.counter0 }}"> | <li class="looper-select-option looper-select-option-{{ forloop.counter0 }}"> | ||||
| {{ radio }} | {{ radio }} | ||||
| </li> | </li> | ||||
| {% endfor %} | {% endfor %} | ||||
| {% endwith %} | {% endwith %} | ||||
| </ul> | </ul> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class="row"> | <div class="row"> | ||||
| <div class="col"> | <div class="col"> | ||||
| <div id="gateway-errors"></div> | <div id="gateway-errors"></div> | ||||
| </div> | </div> | ||||
| Show All 12 Lines | |||||