<div class="table-responsive">
  <table class="table table-bordered table-hover">
    <thead>
      <tr>
        <td class="text-left">{{ column_payment_method }}</td>
        <td class="text-left">{{ column_image }}</td>
        <td class="text-left">{{ column_type }}</td>
        <td class="text-left">{{ column_status }}</td>
        <td class="text-left">{{ column_date_expire }}</td>
        <td class="text-right">{{ column_action }}</td>
      </tr>
    </thead>
    <tbody>
      {% if payment_methods %}
        {% for payment_method in payment_methods %}
          <tr>
            <td class="text-left">{{ payment_method.name }}</td>
            <td class="text-left">{% if payment_method.image %}<img src="{{ payment_method.image }}" alt=""/>{% endif %}</td>
            <td class="text-left">{{ payment_method.type }}</td>
            <td class="text-left">{{ payment_method.date_expire }}</td>
            <td class="text-right"><a href="{{ payment_method.delete }}" data-loading-text="{{ text_loading }}" data-toggle="tooltip" title="{{ button_delete }}" class="btn btn-danger"><i class="fa fa fa-trash-o"></i></a></td>
          </tr>
        {% endfor %}
      {% else %}
        <tr>
          <td class="text-center" colspan="6">{{ text_no_results }}</td>
        </tr>
      {% endif %}
    </tbody>
  </table>
</div>
<div class="row">
  <div class="col-sm-6 text-left">{{ pagination }}</div>
  <div class="col-sm-6 text-right">{{ results }}</div>
</div>