{% extends 'components/modal.html' %} {% load i18n %} {% load static %} {% block modal-title %} {% trans "Add file link" %} {% endblock %} {% block modal-form-open %}
{% endblock %} {% block modal-body %} {% csrf_token %}

{% trans "Links from unknown domains will need to be approved by a moderator before they are added." %}

{% include 'snippets/form_errors.html' with errors_list=file_link_form.url.errors id="desc_url" %}
{% include 'snippets/form_errors.html' with errors_list=file_link_form.filetype.errors id="desc_filetype" %}
{{ file_link_form.availability }}
{% endblock %} {% block modal-footer %} {% if not static %} {% endif %} {% endblock %} {% block modal-form-close %}
{% endblock %}