<!-- plugins/exchange/templates/exchange/listing_list.html -->
{% extends 'base.html' %}
{% block title %}My Listings{% endblock %}
{% block content %}
<h1>Listings</h1>
{# TODO: loop through listings and display #}
<ul>
  {% for listing in listings %}
  <li><a href="{{ url_for('exchange.listing_detail', listing_id=listing.id) }}">{{ listing.plant.name }} ({{ listing.type }})</a></li>
  {% endfor %}
</ul>
<a href="{{ url_for('exchange.new_listing') }}">New Listing</a>
{% endblock %}
