phantasma/app/templates/films.html
2021-10-11 13:29:23 +01:00

11 lines
282 B
HTML

{% extends "base.html" %}
{% block main %}
<div class="films">
{% for film in films %}
<div class="film">
<h1><a href="{% url 'film' film.slug %}">{{ film.data.title | safe }}</a></h1>
<h2>{{ film.data.director|join:", "|safe }}</h2>
</div>
{% endfor %}
</div>
{% endblock %}