{% if rows %}
  <table class="table table-striped table-hover table-condensed">
    <tr class="table-header-row">
      {% for col in titles %}
        <th>{{ col }}</th>
      {% endfor %}
    </tr>
    {% for row in rows %}
      <tr>
        {% for col in row %}
          <td>{{ col }}</td>
        {% endfor %}
      </tr>
    {% endfor %}
  </table>
{% else %}
  {{ no_data }}
{% endif %}