{% extends "base_title.html" %}

{% block page_size %}col-sm-8{% endblock %} 

{% block realcontent %}
<h2>Clubs enregistrés sur GestioCOF</h2>
<ul>
{% for club in owned_clubs %}
  <li>
    <a href="{% url "membres-club" club.name %}">
      {{ club }} ({% for respo in club.respos.all %}{{ respo.get_full_name }}, {% empty %}pas de respo{% endfor %})
    </a>
  </li>
{% endfor %}
{% if other_clubs %}
{% for club in other_clubs %}
    <li>
      <p>
        {{ club }} ({% for respo in club.respos.all %}{{ respo.get_full_name }}, {% empty %}pas de respo{% endfor %})
      </p>
    </li>
{% endfor %}
{% endif %}
</ul>
{% endblock %}
