<div class="checkout-content checkout-shipping-methods">
  {% if error_warning %}
    <div class="alert alert-warning"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}</div>
  {% endif %}
  {% if shipping_methods %}
    <h2 class="secondary-title">{{ journal2.settings.get('one_page_lang_ship_method', 'Shipping Method') }}</h2>
    {% for shipping_method in shipping_methods %}
      <p><strong>{{ shipping_method.title }}</strong></p>
      {% if not shipping_method.error %}
        {% for quote in shipping_method.quote %}
          <div class="radio">
            <label> {% if quote.code == code or not code %}
                {% set code = quote.code %}
                <input type="radio" name="shipping_method" value="{{ quote.code }}" checked="checked"/>
              {% else %}
                <input type="radio" name="shipping_method" value="{{ quote.code }}"/>
              {% endif %}
              {{ quote.title }} - {{ quote.text }}</label>
          </div>
        {% endfor %}
      {% else %}
        <div class="alert alert-danger alert-dismissible">{{ shipping_method.error }}</div>
      {% endif %}
    {% endfor %}
  {% endif %}
</div>
