{% load i18n fontawesome_5 %}
<footer class="footer">
    <div class="container">
        <div class="d-flex justify-content-center">
            <span class="col-sm-auto footer-link">
                <a href="{{ help_link }}" target="_blank">{% trans 'Help' %}</a>
            </span>
            <span class="col-sm-auto footer-link">
                <a href="{{ impressum_link }}" target="_blank">{% trans 'Impressum' %}</a>
            </span>
            <span class="col-sm-auto footer-link">
                <a href="mailto:{{CONTACT_MAIL}}">{% trans 'Contact' %}</a>
            </span>
        </div>
    </div>

    {% comment %}
        "Why is there a form.media call???"
        We use modal forms, right?
        And we use dal (django-autocomplete-light), right?
        In order to get these nice autocomplete (js triggered) form fields to work, we need to load form.media
        somewhere. BUT when these fields are called inside a modal form (which we use quiet often), the form.media
        can not be called properly due to some deprecated functions of jquery regarding synchronous calling.
        So, we simply call the form.media in here, in case there is any form.media to be loaded.
    {% endcomment %}
    {{ form.media }}

</footer>