{% load i18n %} {% load lfc_tags %}

{% trans "Files" %}

{% ifhasperm edit %} {% if obj.files.all %}
{% csrf_token %} {% for file in obj.files.all %} {% endfor %}
{% trans 'Title' %} {% trans 'Description' %} {% trans 'Position' %} {% trans 'Manage' %}
{{ file.description|truncatewords_html:5|safe }} {% if not forloop.first %} {% endif %} {% if not forloop.last %} {% else %} {% endif %}
{% else %} {% trans 'There are no files' %} {% endif %}

{% trans 'Add files' %}

{% csrf_token %}
{% else %} {% if obj.files.all %} {% for file in obj.files.all %} {% endfor %}
{% trans 'Title' %}
{{ file.title }}
{% else %} {% trans 'There are no files' %} {% endif %} {% endifhasperm %}