shop.balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

payment_method.twig (1591B)


      1 {% if error_warning %}
      2 <div class="alert alert-warning alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}</div>
      3 {% endif %}
      4 {% if payment_methods %}
      5 <p>{{ text_payment_method }}</p>
      6 {% for payment_method in payment_methods %}
      7 <div class="radio">
      8   <label>{% if payment_method.code == code or not code %}
      9     {% set code = payment_method.code %}
     10     <input type="radio" name="payment_method" value="{{ payment_method.code }}" checked="checked" />
     11     {% else %}
     12     <input type="radio" name="payment_method" value="{{ payment_method.code }}" />
     13     {% endif %}
     14     {{ payment_method.title }}
     15     {% if payment_method.terms %}
     16     ({{ payment_method.terms }})
     17     {% endif %} </label>
     18 </div>
     19 {% endfor %}
     20 {% endif %}
     21 <p><strong>{{ text_comments }}</strong></p>
     22 <p>
     23   <textarea name="comment" rows="8" class="form-control">{{ comment }}</textarea>
     24 </p>
     25 {% if text_agree %}
     26 <div class="buttons">
     27   <div class="pull-right">{{ text_agree }}
     28     {% if agree %}
     29     <input type="checkbox" name="agree" value="1" checked="checked" />
     30     {% else %}
     31     <input type="checkbox" name="agree" value="1" />
     32     {% endif %}
     33     &nbsp;
     34     <input type="button" value="{{ button_continue }}" id="button-payment-method" data-loading-text="{{ text_loading }}" class="btn btn-primary" />
     35   </div>
     36 </div>
     37 {% else %}
     38 <div class="buttons">
     39   <div class="pull-right">
     40     <input type="button" value="{{ button_continue }}" id="button-payment-method" data-loading-text="{{ text_loading }}" class="btn btn-primary" />
     41   </div>
     42 </div>
     43 {% endif %}