{% extends "base/base.html" %}

{% block title %}
<h1>Programmes de Planète Casio</h1>
{% endblock %}

{% block content %}
<section>
  <h2>Tous les programmes</h2>

	<table class=programlist>
		<tr><th>ID</th><th>Nom</th><th>Auteur</th><th>Publié le</th></tr>
		{% for p in programs %}
			<tr><td>{{ p.id }}</td>
				  <td><a href='#'>{{ p.name }}</a></td>
					<td>{{ p.author.name }}</td>
				  <td>{{ p.date_created }}</td></tr>
		{% endfor %}
	</table>
</section>
{% endblock %}
