{% extends 'base.html' %} {% load i18n %} {% block title %} {% if mediafile %} {% trans "Edit file" %} {% else %} {% trans "New file" %} {% endif %} – {{ block.super }} {% endblock %} {% block content %}
{% if perms.mediafile.can_manage %} {% include "formbuttons_saveapply.html" %} {% else %} {% include "formbuttons_save.html" %} {% endif %} {% trans 'Cancel' %}