njpma/app/templates/films.html
2021-10-10 16:06:43 +01:00

21 lines
518 B
HTML

{% extends "base.html" %}
{% block main %}
<div class="films">
{% for film in films %}
<div class="film">
<div class="left">
<h1><a href="{% url 'film' film.slug %}">{{ film.data.title | safe }}</a></h1>
<h2>{{ film.data.director|join:", "|safe }}</h2>
</div>
{% comment %}
<div class="right">
<a href="{% url 'film' film.slug %}">
<img src="{{ settings.TIMELINE_PREFIX }}{{ film.padma_id }}/timeline.jpg">
</a>
</div>
{% endcomment %}
</div>
{% endfor %}
</div>
{% endblock %}