{% load pybb_tags static %} {% if request.user|pybb_may_attach_files %} {% load i18n %}
{{ form.id }}{{ form.file }} {% if attachment_max_size %} {% blocktrans with max_size=attachment_max_size|filesizeformat%}(max size : {{ max_size }}){% endblocktrans %} {% endif %} | {% if form.instance.pk %}{{ form.DELETE }} {% trans "delete" %}{% endif %} |
Ref :
[file-{{ forloop.counter }}]
![]() ![]() |