<!-- plugins/exchange/templates/exchange/swap_list.html -->
{% extends 'base.html' %}
{% block title %}Swap Batches{% endblock %}
{% block content %}
<h1>Swap Batches</h1>
<ul>
  {% for batch in batches %}
    <li><a href="{{ url_for('exchange.swap_detail', swap_id=batch.id) }}">{{ batch.name }} on {{ batch.date }}</a></li>
  {% endfor %}
</ul>
<a href="{{ url_for('exchange.new_swap') }}">New Swap Batch</a>
{% endblock %}
